Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

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

    r231 r238  
    1212 *******************************************************************************/ 
    1313module dwt.DWTException; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517import dwt.DWT; 
     
    7375 * @param message the detail message for the exception 
    7476 */ 
    75 public this (char[] message) { 
     77public this (String message) { 
    7678    this (DWT.ERROR_UNSPECIFIED, message); 
    7779} 
     
    9698 * @param message the detail message for the exception 
    9799 */ 
    98 public this (int code, char[] message) { 
     100public this (int code, String message) { 
    99101    super (message); 
    100102    this.code = code; 
     
    125127 *  @return the error message string of this DWTException object 
    126128 */ 
    127 public char[] getMessage () { 
     129public String getMessage () { 
    128130    if (throwable is null) return super.toString (); 
    129131    return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$