public class WrapperException extends RuntimeException
CheckedWrapperException| Constructor and Description | 
|---|
WrapperException(String s)
Construct a WrapperException with a specified detail message. 
 | 
WrapperException(Throwable e)
Construct a WrapperException from a Throwable object. 
 | 
WrapperException(Throwable e,
                String s)
Construct a WrapperException from a Throwable object and an additional
 description. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getLocalizedMessage()
Creates a localized description of this  
WrapperException. | 
String | 
getMessage()
Returns the error message string of this WrapperException object. 
 | 
Throwable | 
getOriginalException()  | 
String | 
getWrapper()  | 
String | 
toString()
Returns a short description of this WrapperException object. 
 | 
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic WrapperException(Throwable e, String s)
e - the Throwable objects - the additional descriptionpublic WrapperException(Throwable e)
e - the Throwable objectpublic WrapperException(String s)
s - the String that contains a detailed messagepublic Throwable getOriginalException()
public String getWrapper()
public String getMessage()
getMessage in class ThrowableWrapperExceptionpublic String getLocalizedMessage()
WrapperException.
 Subclasses may override this method in order to produce a
 locale-specific message.  For subclasses that do not override this
 method, the default implementation returns the same result as
 getMessage().getLocalizedMessage in class ThrowableWrapperException.