Re: [Actionframework-users] patch to AFWException.java
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-09-24 16:01:45
|
> public String getStackTrace() { > java.io.StringWriter w = new java.io.StringWriter(); > this.printStackTrace(new java.io.PrintWriter(w, true)); > return w.toString(); > } I wouldn't name the method getStackTrace() because there is such a method in JDK 1.4. The question is whether to introduce, say getStackTraceString(), or let people migrate to 1.4. I agre that stacktrace as string is handy for error reporting, but you can always put the code above into onException() method. > There still seem to be a whole bunch of different exceptions that are > not caught by onException, which is a different problem.... ConversionExceptions are not, others should be. Do you have an example? Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |