@Test public void testGetMessage() { final BackgroundException e = new BackgroundException(new LoginCanceledException()); e.setMessage("m"); assertEquals("m", e.getMessage()); }
@Override public String getMessage() { return null == message ? LocaleFactory.localizedString("Unknown") : message; }
BackgroundException extends Exception { @Override public String getMessage() { return null == message ? LocaleFactory.localizedString("Unknown") : message; } }
BackgroundException extends Exception { @Override public String getMessage() { return null == message ? LocaleFactory.localizedString("Unknown") : message; } BackgroundException();  BackgroundException(final Throwable cause);  BackgroundException(final String message, final String detail);  BackgroundException(final String detail, final Throwable cause);  BackgroundException(final String message, final String detail, final Throwable cause); }
BackgroundException extends Exception { @Override public String getMessage() { return null == message ? LocaleFactory.localizedString("Unknown") : message; } BackgroundException();  BackgroundException(final Throwable cause);  BackgroundException(final String message, final String detail);  BackgroundException(final String detail, final Throwable cause);  BackgroundException(final String message, final String detail, final Throwable cause); void setMessage(final String title); void setDetail(final String detail); @Override String getMessage(); void setFile(final Path file); BackgroundException withFile(final Path file); Path getFile(); String getHelp(); String getDetail(); String getDetail(boolean help); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
BackgroundException extends Exception { @Override public String getMessage() { return null == message ? LocaleFactory.localizedString("Unknown") : message; } BackgroundException();  BackgroundException(final Throwable cause);  BackgroundException(final String message, final String detail);  BackgroundException(final String detail, final Throwable cause);  BackgroundException(final String message, final String detail, final Throwable cause); void setMessage(final String title); void setDetail(final String detail); @Override String getMessage(); void setFile(final Path file); BackgroundException withFile(final Path file); Path getFile(); String getHelp(); String getDetail(); String getDetail(boolean help); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }