@Test public void testPlain() { KangarooException e = new TestError(); assertEquals(TestError.CODE.getHttpStatus().getStatusCode(), e.getResponse().getStatus()); assertEquals(e.getCode(), TestError.CODE); }
public final ErrorCode getCode() { return code; }
KangarooException extends WebApplicationException { public final ErrorCode getCode() { return code; } }
KangarooException extends WebApplicationException { public final ErrorCode getCode() { return code; } protected  KangarooException(final ErrorCode code); }
KangarooException extends WebApplicationException { public final ErrorCode getCode() { return code; } protected  KangarooException(final ErrorCode code); final ErrorCode getCode(); }
KangarooException extends WebApplicationException { public final ErrorCode getCode() { return code; } protected  KangarooException(final ErrorCode code); final ErrorCode getCode();  }