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/DWTError.d

    r59 r206  
    4545 
    4646public class DWTError : PlatformException { 
    47  
    4847    /** 
    4948     * The DWT error code, one of DWT.ERROR_*. 
     
    5554     * or null if this information is not available. 
    5655     */ 
    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    } 
    5863 
    5964    //static final long serialVersionUID = 3833467327105808433L; 
     
    130135public char[] getMessage () { 
    131136    if (throwable is null) 
    132         return super.toString (); 
     137        return super.toString(); 
    133138    return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$ 
    134139} 
     
    153158        } 
    154159    } 
     160} 
    155161 
    156162} 
    157 } 
    158  
    159  
    160