/** * Constructs from a message and the exception that caused the failure. * * @param message * The message. * @param e * The exception that caused the failure. */ public UnitException(final String message, final Exception e) { super(message); initCause(e); } }
| UnitSystemException e1) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine(e1.getLocalizedMessage());
/** * Constructs from a message and the exception that caused the failure. * * @param message * The message. * @param e * The exception that caused the failure. */ public UnitException(final String message, final Exception e) { super(message); initCause(e); } }