Guest User

Untitled

a guest
Jul 6th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.59 KB | None | 0 0
  1. 1
  2.  catch (Exception ex) {
  3.             if (condition) {
  4.                 return 1;
  5.             } else {
  6.                 if (ex instanceof ConcreteException1) {
  7.                     return 2;
  8.                 } else {
  9.                     return 3;
  10.                 }
  11.   2
  12.    catch (Exception ex) {
  13.             if (condition) {
  14.                 return 1;
  15.             } else {
  16.                try {
  17.                     throw ex;
  18.                 } catch (ConcreteException1 e) {
  19.                     return 2;
  20.                 } catch (Exception e) {
  21.                     return 3;
  22.                 }
Advertisement
Add Comment
Please, Sign In to add comment