Package | Description |
---|---|
net.sf.mmm.util.exception.api |
Provides the API for utilities that help to deal with exceptions.
|
net.sf.mmm.util.exception.base |
Contains public implementations of exception-utilities.
|
net.sf.mmm.util.security.api |
Provides the API to help with security.
|
net.sf.mmm.util.validation.api |
Provides the API for simple validation of values.
|
Modifier and Type | Field and Description |
---|---|
static ExceptionTruncation |
ExceptionTruncation.REMOVE_ALL
Instance to remove all additional details.
|
static ExceptionTruncation |
ExceptionTruncation.REMOVE_NONE
Instance to remove no additional details.
|
static ExceptionTruncation |
ExceptionTruncation.REMOVE_STACKTRACE_AND_SUPPRESSED
Instance to remove
stacktrace and suppressed . |
Modifier and Type | Method and Description |
---|---|
Throwable |
ExceptionUtil.convertForSerialization(Throwable exception,
ExceptionTruncation truncation)
Converts the given
exception so it is ensured to be serializable. |
Throwable |
ExceptionUtil.convertForUser(Throwable exception,
ExceptionTruncation truncation)
Converts the given
exception for end-users with potential truncation. |
ValidationErrorUserException |
ValidationErrorUserException.createCopy(ExceptionTruncation truncation) |
TechnicalErrorUserException |
TechnicalErrorUserException.createCopy(ExceptionTruncation truncation) |
Throwable |
NlsThrowable.createCopy(ExceptionTruncation truncation)
Returns a copy of the given exception where the specified details are removed.
|
NlsRuntimeException |
NlsRuntimeException.createCopy(ExceptionTruncation truncation)
Returns a copy of the given exception where the specified details are removed.
|
NlsRuntimeException |
NlsException.createCopy(ExceptionTruncation truncation)
Returns a copy of the given exception where the specified details are removed.
|
GenericSerializableException |
GenericSerializableException.createCopy(ExceptionTruncation truncation) |
BusinessErrorUserException |
BusinessErrorUserException.createCopy(ExceptionTruncation truncation) |
protected NlsRuntimeException |
NlsRuntimeException.createCopyViaClone(ExceptionTruncation truncation) |
protected NlsRuntimeException |
NlsException.createCopyViaClone(ExceptionTruncation truncation) |
(package private) static void |
ThrowableHelper.removeDetails(Throwable throwable,
ExceptionTruncation truncation) |
Constructor and Description |
---|
BusinessErrorUserException(BusinessErrorUserException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
NlsException(NlsException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
NlsRuntimeException(NlsRuntimeException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
TechnicalErrorUserException(TechnicalErrorUserException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
ValidationErrorUserException(ValidationErrorUserException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ExceptionTruncation |
ExceptionUtilImpl.getTruncationForClient() |
Modifier and Type | Method and Description |
---|---|
Throwable |
ExceptionUtilImpl.convertForSerialization(Throwable exception,
ExceptionTruncation truncation) |
Throwable |
ExceptionUtilImpl.convertForUser(Throwable exception,
ExceptionTruncation truncation) |
Modifier and Type | Method and Description |
---|---|
SecurityErrorUserException |
SecurityErrorUserException.createCopy(ExceptionTruncation truncation) |
Constructor and Description |
---|
SecurityErrorUserException(SecurityErrorUserException copySource,
ExceptionTruncation truncation)
The copy constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidationErrorUserException |
ValidationErrorUserException.createCopy(ExceptionTruncation truncation)
Deprecated.
|
Constructor and Description |
---|
ValidationErrorUserException(ValidationErrorUserException copySource,
ExceptionTruncation truncation)
Deprecated.
The copy constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.