Changeset 212:ab60f3309436 for dwt/DWTException.d
- Timestamp:
- 05/04/08 18:12:38 (7 months ago)
- Files:
-
- dwt/DWTException.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWTException.d
r206 r212 17 17 import tango.core.Exception; 18 18 import tango.io.Stdout; 19 import dwt.dwthelper.utils; 19 20 20 21 /** … … 73 74 * @param message the detail message for the exception 74 75 */ 75 public this ( char[]message) {76 public this (String message) { 76 77 this (DWT.ERROR_UNSPECIFIED, message); 77 78 } … … 96 97 * @param message the detail message for the exception 97 98 */ 98 public this (int code, char[]message) {99 public this (int code, String message) { 99 100 super (message); 100 101 this.code = code; … … 125 126 * @return the error message string of this DWTException object 126 127 */ 127 public char[]getMessage () {128 public String getMessage () { 128 129 if (throwable is null) return super.toString (); 129 130 return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$
