|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.util.WrapperException
public class WrapperException
A WrapperException wraps a Throwable object as a RuntimeException.
CheckedWrapperException| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Constructor Detail |
|---|
public 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 message| Method Detail |
|---|
public 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.public String toString()
toString in class ThrowableWrapperException.
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||