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