Hello,
With help of Venkateswararao Vasantha I made a change in my code, now it looks like below:
user = (AbsAccountIfc)userHome.findUniqueByName(userID); userHome.upgradeToEdit(user); userHome.delete(user); userHome.save(user);
This code is in try-catch block. When I ran the code again it went to catch section suggesting potential error, but when I save the result of Exception - e.getMessage() it gives me only string with "null".
How to solve this problem and what to do next?
Thanks for your help.