Show
Ignore:
Timestamp:
05/04/08 18:12:38 (7 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

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

    r206 r212  
    1717import tango.core.Exception; 
    1818import tango.io.Stdout; 
     19import dwt.dwthelper.utils; 
    1920 
    2021/** 
     
    7374 * @param message the detail message for the exception 
    7475 */ 
    75 public this (char[] message) { 
     76public this (String message) { 
    7677    this (DWT.ERROR_UNSPECIFIED, message); 
    7778} 
     
    9697 * @param message the detail message for the exception 
    9798 */ 
    98 public this (int code, char[] message) { 
     99public this (int code, String message) { 
    99100    super (message); 
    100101    this.code = code; 
     
    125126 *  @return the error message string of this DWTException object 
    126127 */ 
    127 public char[] getMessage () { 
     128public String getMessage () { 
    128129    if (throwable is null) return super.toString (); 
    129130    return super.toString () ~ " (" ~ throwable.toString () ~ ")"; //$NON-NLS-1$ //$NON-NLS-2$