@Test void testGetMessage() { DataAlreadyExistsException ex = new AclAlreadyExistsException("type", "identifier"); assertEquals("typeId:type, id:identifier", ex.getMessage()); }
@Override public String getMessage() { return String.format("typeId:%s, id:%s", typeId, id); }
AclAlreadyExistsException extends DataAlreadyExistsException { @Override public String getMessage() { return String.format("typeId:%s, id:%s", typeId, id); } }
AclAlreadyExistsException extends DataAlreadyExistsException { @Override public String getMessage() { return String.format("typeId:%s, id:%s", typeId, id); } AclAlreadyExistsException(String typeId, String id); }
AclAlreadyExistsException extends DataAlreadyExistsException { @Override public String getMessage() { return String.format("typeId:%s, id:%s", typeId, id); } AclAlreadyExistsException(String typeId, String id); @Override String getMessage(); }
AclAlreadyExistsException extends DataAlreadyExistsException { @Override public String getMessage() { return String.format("typeId:%s, id:%s", typeId, id); } AclAlreadyExistsException(String typeId, String id); @Override String getMessage();  }