public class ExceptionUtilLimitedImpl extends AbstractLoggableComponent implements ExceptionUtilLimited
ExceptionUtilLimited.| Constructor and Description |
|---|
ExceptionUtilLimitedImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
convertForUser(Throwable exception)
Converts the given
exception for end-users. |
String |
getStacktrace(Throwable exception)
|
createLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializepublic String getStacktrace(Throwable exception)
ExceptionUtilLimitedcomplete stacktrace of the given exception
as String. Ensured to work also in limited environments such as GWT.getStacktrace in interface ExceptionUtilLimitedexception - is the Throwable to get the stacktrace from.complete stacktrace of the given
exception.public Throwable convertForUser(Throwable exception)
ExceptionUtilLimitedexception for end-users. Technical exceptions are converted to
TechnicalErrorUserException.convertForUser in interface ExceptionUtilLimitedexception - is the exception to wrap.NlsThrowable.TechnicalErrorUserException.getOrCreateUserException(Throwable),
NlsThrowable.isForUser(),
TechnicalErrorUserExceptionCopyright © 2001–2016 mmm-Team. All rights reserved.