This content has been marked as final.
Show 1 reply
-
1. Re: noobie->how to write custom exception
thejavafreak Oct 16, 2007 10:17 PM (in response to statelessbean)In your try block there must be a method that throws MyException. Please revise as such:
public void anotherMethod() throws MyException{ }
public void myMethod() { try { anotherMethod(); } catch (MyException e) { } }
Really this has got nothing to do with Seam :)