Changeset 206:cca980503056 for dwt/DWTError.d
- Timestamp:
- 04/16/08 14:36:50 (9 months ago)
- Files:
-
- dwt/DWTError.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWTError.d
r59 r206 45 45 46 46 public class DWTError : PlatformException { 47 48 47 /** 49 48 * The DWT error code, one of DWT.ERROR_*. … … 55 54 * or null if this information is not available. 56 55 */ 57 public Exception throwable; 56 public Exception throwable( Exception e ){ 57 this.next = e; 58 return this.next; 59 } 60 public Exception throwable(){ 61 return this.next; 62 } 58 63 59 64 //static final long serialVersionUID = 3833467327105808433L; … … 130 135 public char[] getMessage () { 131 136 if (throwable is null) 132 return super.toString ();137 return super.toString(); 133 138 return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$ 134 139 } … … 153 158 } 154 159 } 160 } 155 161 156 162 } 157 }158 159 160
