comparison dwt/DWTException.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents 354c569b57a9
children d8635bb48c7c
comparison
equal deleted inserted replaced
35:7d135fe0caf2 36:db5a898b2119
127 * which caused this DWTException (if this information is available). 127 * which caused this DWTException (if this information is available).
128 * </p> 128 * </p>
129 * @return the error message string of this DWTException object 129 * @return the error message string of this DWTException object
130 */ 130 */
131 public String getMessage () { 131 public String getMessage () {
132 if (throwable is null) return super.getMessage (); 132 if (throwable is null) return super.toString ();
133 return super.getMessage () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$ 133 return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$
134 } 134 }
135 135
136 /** 136 /**
137 * Outputs a printable representation of this exception's 137 * Outputs a printable representation of this exception's
138 * stack trace on the standard error stream. 138 * stack trace on the standard error stream.