/** * Creates composite exception message */ @Override public String getLocalizedMessage() { return getMessage(true); }
/** * Throws the exception if it is not empty. */ public void throwIfExceptions() { if (hasExceptions()) { throw this; } }
/** * Creates composite exception message */ @Override public String getMessage() { return getMessage(false); }
/** * Throws the exception if it is not empty. */ public void throwIfExceptions() { if (hasExceptions()) { throw this; } }
/** * Creates composite exception message */ @Override public String getLocalizedMessage() { return getMessage(true); }
/** * Creates composite exception message */ @Override public String getMessage() { return getMessage(false); }