Changeset 238:380bad9f6852 for dwt/DWTException.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/DWTException.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWTException.d
r231 r238 12 12 *******************************************************************************/ 13 13 module dwt.DWTException; 14 15 import dwt.dwthelper.utils; 14 16 15 17 import dwt.DWT; … … 73 75 * @param message the detail message for the exception 74 76 */ 75 public this ( char[]message) {77 public this (String message) { 76 78 this (DWT.ERROR_UNSPECIFIED, message); 77 79 } … … 96 98 * @param message the detail message for the exception 97 99 */ 98 public this (int code, char[]message) {100 public this (int code, String message) { 99 101 super (message); 100 102 this.code = code; … … 125 127 * @return the error message string of this DWTException object 126 128 */ 127 public char[]getMessage () {129 public String getMessage () { 128 130 if (throwable is null) return super.toString (); 129 131 return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$
