|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.jrockit.memleak.comm.MemLeakControllerException
public class MemLeakControllerException
Exception thrown by Controller
implementors to indicate that an
operation could not be completed. In addition to an error message and the
exception causing the failure, the class provides a code which gives a
semantic hint about why the exception was thrown.
getKind()
,
Controller
,
Serialized FormField Summary | |
---|---|
static int |
KIND_CONNECTION
Constant for connection errors. |
static int |
KIND_GENERAL
Constant for general errors. |
static int |
KIND_LICENSE
Constant for license errors. |
static int |
KIND_UNSUPPORTED_JVM
Constant for unsupported JVM errors. |
Constructor Summary | |
---|---|
MemLeakControllerException(MemLeakControllerException old,
java.lang.String msg)
Constructor typically used to change the message, without affecting the cause. |
|
MemLeakControllerException(java.lang.String msg)
|
|
MemLeakControllerException(java.lang.String msg,
int kind)
|
|
MemLeakControllerException(java.lang.Throwable cause)
|
|
MemLeakControllerException(java.lang.Throwable cause,
int kind)
|
|
MemLeakControllerException(java.lang.Throwable cause,
int kind,
java.lang.String msg)
|
Method Summary | |
---|---|
int |
getKind()
Gives a hint about what kind of event caused this exception. |
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 |
Field Detail |
---|
public static final int KIND_GENERAL
public static final int KIND_UNSUPPORTED_JVM
public static final int KIND_LICENSE
public static final int KIND_CONNECTION
Constructor Detail |
---|
public MemLeakControllerException(MemLeakControllerException old, java.lang.String msg)
old
- msg
- public MemLeakControllerException(java.lang.Throwable cause, int kind, java.lang.String msg)
cause
- kind
- msg
- public MemLeakControllerException(java.lang.Throwable cause, int kind)
cause
- kind
- public MemLeakControllerException(java.lang.Throwable cause)
cause
- public MemLeakControllerException(java.lang.String msg, int kind)
msg
- kind
- public MemLeakControllerException(java.lang.String msg)
msg
- Method Detail |
---|
public int getKind()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |