comparison dwt/widgets/DirectoryDialog.d @ 239:43b41c7fe84a

work on allow null strings and arrays
author Frank Benoit <benoit@tionex.de>
date Fri, 20 Jun 2008 16:27:36 +0200
parents 36f5cb12e1a2
children fd9c62a2998e
comparison
equal deleted inserted replaced
238:efe25e7c8a96 239:43b41c7fe84a
306 * the purpose for which it was opened. This message will be 306 * the purpose for which it was opened. This message will be
307 * visible on the dialog while it is open. 307 * visible on the dialog while it is open.
308 * 308 *
309 * @param string the message 309 * @param string the message
310 * 310 *
311 * @exception IllegalArgumentException <ul>
312 * <li>ERROR_NULL_ARGUMENT - if the string is null</li>
313 * </ul>
314 */ 311 */
315 public void setMessage (String string) { 312 public void setMessage (String string) {
316 if (string is null) error (DWT.ERROR_NULL_ARGUMENT); 313 // DWT extension: allow null string
314 //if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
317 message = string; 315 message = string;
318 } 316 }
319 317
320 } 318 }