diff options
author | jfrijters <jfrijters> | 2004-04-23 18:21:43 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2004-04-23 18:21:43 +0400 |
commit | a7454fe5e644f735288c5b28dca98bb7cc065fd5 (patch) | |
tree | 607ec0717e94aaa0357e856a8a365a8180cf8f3b /classpath/java/lang/ExceptionHelper.java | |
parent | 555280cb0cbd2421f0636ece1a78ca34d38c1fc1 (diff) |
*** empty log message ***
Diffstat (limited to 'classpath/java/lang/ExceptionHelper.java')
-rw-r--r-- | classpath/java/lang/ExceptionHelper.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classpath/java/lang/ExceptionHelper.java b/classpath/java/lang/ExceptionHelper.java index 5cf40193..7ec96534 100644 --- a/classpath/java/lang/ExceptionHelper.java +++ b/classpath/java/lang/ExceptionHelper.java @@ -36,7 +36,7 @@ public final class ExceptionHelper private static class ExceptionInfoHelper { - private static final Throwable CAUSE_NOT_SET = cli.System.Exception.__new(); + private static final Throwable CAUSE_NOT_SET = new cli.System.Exception(); private cli.System.Diagnostics.StackTrace tracePart1; private cli.System.Diagnostics.StackTrace tracePart2; private cli.System.Collections.ArrayList stackTrace; @@ -46,7 +46,7 @@ public final class ExceptionHelper { tracePart1 = new cli.System.Diagnostics.StackTrace(x, true); tracePart2 = new cli.System.Diagnostics.StackTrace(true); - cause = cli.System.Exception.get_InnerException(x); + cause = ((cli.System.Exception)x).get_InnerException(); if(cause == null) { cause = CAUSE_NOT_SET; @@ -288,7 +288,7 @@ public final class ExceptionHelper ExceptionInfoHelper eih = (ExceptionInfoHelper)exceptions.get(x); if(eih == null) { - return cli.System.Exception.get_InnerException(x); + return ((cli.System.Exception)x).get_InnerException(); } return eih.get_Cause(); } @@ -354,7 +354,7 @@ public final class ExceptionHelper public static String getMessage(Throwable x) { - String message = cli.System.Exception.get_Message(x); + String message = ((cli.System.Exception)x).get_Message(); if(message == NULL_STRING) { message = null; @@ -418,7 +418,7 @@ public final class ExceptionHelper if(!exceptions.containsKey(t)) { exceptions.put(t, new ExceptionInfoHelper(org)); - Throwable inner = cli.System.Exception.get_InnerException(org); + Throwable inner = ((cli.System.Exception)org).get_InnerException(); if(inner != null && !exceptions.containsKey(inner)) { exceptions.put(inner, new ExceptionInfoHelper(inner)); |