Show
Ignore:
Timestamp:
04/16/08 14:36:50 (9 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

sync with dwt-linux, removed the simple.d

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/DWTException.d

    r59 r206  
    3636 
    3737public class DWTException : Exception { 
    38  
    3938    /** 
    4039     * The DWT error code, one of DWT.ERROR_*. 
     
    4645     * or null if this information is not available. 
    4746     */ 
    48     public Exception throwable; 
     47    public Exception throwable( Exception e ){ 
     48        this.next = e; 
     49        return this.next; 
     50    } 
     51    public Exception throwable(){ 
     52        return this.next; 
     53    } 
     54 
    4955 
    5056    //static final long serialVersionUID = 3257282552304842547L; 
     
    120126 */ 
    121127public char[] getMessage () { 
    122     if (throwable is null) 
    123         return super.toString (); 
     128    if (throwable is null) return super.toString (); 
    124129    return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$ 
    125130} 
     
    148153} 
    149154 
     155