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

    r196 r212  
    2121 
    2222import tango.core.Exception; 
     23import dwt.dwthelper.utils; 
    2324 
    2425version(build){ 
     
    33933394 * @see DWT 
    33943395 */ 
    3395 static char[] findErrorText (int code) { 
     3396static String findErrorText (int code) { 
    33963397    switch (code) { 
    33973398        case ERROR_UNSPECIFIED:            return "Unspecified error"; //$NON-NLS-1$ 
     
    34493450 * </ul> 
    34503451 */ 
    3451 public static char[] getMessage(char[] key) { 
     3452public static String getMessage(String key) { 
    34523453    //return Compatibility.getMessage(key); 
    34533454    return ""; 
     
    34603461 * @return the DWT platform name 
    34613462 */ 
    3462 public static char[] getPlatform () { 
     3463public static String getPlatform () { 
    34633464    return Platform.PLATFORM; 
    34643465} 
     
    34793480 * @param code the DWT error code 
    34803481 */ 
    3481 public static void error (char[] file, long line, int code) { 
     3482public static void error (String file, long line, int code) { 
    34823483    error (code, null); 
    34833484} 
     
    35433544 * @since 3.0 
    35443545 */ 
    3545 public static void error (int code, Exception throwable, char[] detail) { 
     3546public static void error (int code, Exception throwable, String detail) { 
    35463547 
    35473548    /* 
     
    35643565    } 
    35653566 
    3566     char[] message = findErrorText (code); 
     3567    String message = findErrorText (code); 
    35673568    if (detail != null) message ~= detail; 
    35683569    switch (code) {