|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.jrockit.memleak.MemLeakException
com.jrockit.memleak.spi.SpiException
public class SpiException
Super class for MemLeak SPI Exceptions.
Constructor Summary | |
---|---|
SpiException(java.lang.String message)
Create a new exception with the given message. |
|
SpiException(java.lang.Throwable cause)
Constructs a new exception with the specified cause. |
Method Summary | ||
---|---|---|
static
|
unhandled(java.lang.Exception e)
Wrap a non- SpiException exception into something that may be
thrown, and throw it. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpiException(java.lang.String message)
message
- the exception messagepublic SpiException(java.lang.Throwable cause)
cause
- the causeMethod Detail |
---|
public static <T> T unhandled(java.lang.Exception e) throws SpiException
SpiException
exception into something that may be
thrown, and throw it.
T
- dummy type to be used by return statementse
-
SpiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |