@Test public void testCreation() { TerminateToolException e = new TerminateToolException(-500); Assert.assertEquals(-500, e.getCode()); }
public int getCode() { return code; }
TerminateToolException extends RuntimeException { public int getCode() { return code; } }
TerminateToolException extends RuntimeException { public int getCode() { return code; } TerminateToolException(int code, String message, Throwable t);  TerminateToolException(int code, String message);  TerminateToolException(int code); }
TerminateToolException extends RuntimeException { public int getCode() { return code; } TerminateToolException(int code, String message, Throwable t);  TerminateToolException(int code, String message);  TerminateToolException(int code); int getCode(); @Override String getMessage(); }
TerminateToolException extends RuntimeException { public int getCode() { return code; } TerminateToolException(int code, String message, Throwable t);  TerminateToolException(int code, String message);  TerminateToolException(int code); int getCode(); @Override String getMessage();  }