@ComponentSpecification public interface ExceptionUtilLimited
ExceptionUtil that is GWT compatible.| Modifier and Type | Method and Description |
|---|---|
Throwable |
convertForUser(Throwable exception)
Converts the given
exception for end-users. |
String |
getStacktrace(Throwable exception)
|
String getStacktrace(Throwable exception)
complete stacktrace of the given exception
as String. Ensured to work also in limited environments such as GWT.exception - is the Throwable to get the stacktrace from.complete stacktrace of the given
exception.Throwable convertForUser(Throwable exception)
exception for end-users. Technical exceptions are converted to
TechnicalErrorUserException.exception - is the exception to wrap.NlsThrowable.TechnicalErrorUserException.getOrCreateUserException(Throwable),
NlsThrowable.isForUser(),
TechnicalErrorUserExceptionCopyright © 2001–2016 mmm-Team. All rights reserved.