Changeset 212:ab60f3309436 for dwt/DWT.d
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWT.d
r196 r212 21 21 22 22 import tango.core.Exception; 23 import dwt.dwthelper.utils; 23 24 24 25 version(build){ … … 3393 3394 * @see DWT 3394 3395 */ 3395 static char[]findErrorText (int code) {3396 static String findErrorText (int code) { 3396 3397 switch (code) { 3397 3398 case ERROR_UNSPECIFIED: return "Unspecified error"; //$NON-NLS-1$ … … 3449 3450 * </ul> 3450 3451 */ 3451 public static char[] getMessage(char[]key) {3452 public static String getMessage(String key) { 3452 3453 //return Compatibility.getMessage(key); 3453 3454 return ""; … … 3460 3461 * @return the DWT platform name 3461 3462 */ 3462 public static char[]getPlatform () {3463 public static String getPlatform () { 3463 3464 return Platform.PLATFORM; 3464 3465 } … … 3479 3480 * @param code the DWT error code 3480 3481 */ 3481 public static void error ( char[]file, long line, int code) {3482 public static void error (String file, long line, int code) { 3482 3483 error (code, null); 3483 3484 } … … 3543 3544 * @since 3.0 3544 3545 */ 3545 public static void error (int code, Exception throwable, char[]detail) {3546 public static void error (int code, Exception throwable, String detail) { 3546 3547 3547 3548 /* … … 3564 3565 } 3565 3566 3566 char[]message = findErrorText (code);3567 String message = findErrorText (code); 3567 3568 if (detail != null) message ~= detail; 3568 3569 switch (code) {
