Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.RuntimeException:
- ...
- Caused by: com.mypackage.SpecificException
- try {
- ts.init();
- } catch (RuntimeException e) {
- if (e.getCause() instanceof SpecificException) {
- //do something
- } else {
- throw e;
- }
- }
Add Comment
Please, Sign In to add comment