This content has been marked as final.
Show 2 replies
-
1. Re: Exception handling
aidan_b5 Mar 1, 2006 4:27 AM (in response to martinganserer)Could be a class def problem.....make sure GenericBusinessException is in the clients class path at run time (i.e it should be a common component used by both client and service - e.g. in the root of the ear linked by manifest).
Simple suggestion I know but I can't see anything explicitly wrong with your code. -
2. Re: Exception handling
martinganserer Mar 1, 2006 5:22 AM (in response to martinganserer)Hi,
I made a small test to check if the Exception class is known in the client.
I simply fired a GenericBusinessException in the client without any problem!try { throw new GenericBusinessException(); //user3 = userManager.getUserByName("ganserder"); } catch (GenericBusinessException e) { System.out.println("Exception"); }
If the remote method throws the same exception it does not work!
What should I do?