Changeset 238:380bad9f6852 for dwt/DWT.d
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/DWT.d
r200 r238 3423 3423 * @see DWT 3424 3424 */ 3425 static char[]findErrorText (int code) {3425 static String findErrorText (int code) { 3426 3426 switch (code) { 3427 3427 case ERROR_UNSPECIFIED: return "Unspecified error"; //$NON-NLS-1$ … … 3480 3480 * </ul> 3481 3481 */ 3482 public static char[] getMessage(char[]key) {3482 public static String getMessage(String key) { 3483 3483 // PORTING_FIXME: Implement 3484 3484 return "msg not found"; … … 3492 3492 * @return the DWT platform name 3493 3493 */ 3494 public static char[]getPlatform () {3494 public static String getPlatform () { 3495 3495 return Platform.PLATFORM; 3496 3496 } … … 3511 3511 * @param code the DWT error code 3512 3512 */ 3513 public static void error ( char[]file, long line, int code) {3513 public static void error (String file, long line, int code) { 3514 3514 error (code, null); 3515 3515 } … … 3575 3575 * @since 3.0 3576 3576 */ 3577 public static void error (int code, Exception throwable, char[]detail) {3577 public static void error (int code, Exception throwable, String detail) { 3578 3578 3579 3579 /* … … 3596 3596 } 3597 3597 3598 char[]message = findErrorText (code);3598 String message = findErrorText (code); 3599 3599 if (detail != null) message ~= detail; 3600 3600 switch (code) {
