@Test void testGetMessage() { CodedRuntimeException ex = new UnknownPermissionQueryParamException("type"); assertEquals("key:type", ex.getMessage()); }
@Override public String getMessage() { return String.format("key:%s", key); }
UnknownPermissionQueryParamException extends BadRequestException { @Override public String getMessage() { return String.format("key:%s", key); } }
UnknownPermissionQueryParamException extends BadRequestException { @Override public String getMessage() { return String.format("key:%s", key); } UnknownPermissionQueryParamException(String key); }
UnknownPermissionQueryParamException extends BadRequestException { @Override public String getMessage() { return String.format("key:%s", key); } UnknownPermissionQueryParamException(String key); @Override String getMessage(); }
UnknownPermissionQueryParamException extends BadRequestException { @Override public String getMessage() { return String.format("key:%s", key); } UnknownPermissionQueryParamException(String key); @Override String getMessage();  }