|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
public class Exception
Exception
is the superclass of all classes that represent recoverable
exceptions. When exceptions are thrown, they may be caught by application
code.
Throwable
,
Error
,
RuntimeException
,
Serialized FormConstructor Summary | |
---|---|
Exception()
Constructs a new Exception that includes the current stack trace. |
|
Exception(java.lang.String detailMessage)
Constructs a new Exception with the current stack trace and the
specified detail message. |
|
Exception(java.lang.String detailMessage,
java.lang.Throwable throwable)
Constructs a new Exception with the current stack trace, the
specified detail message and the specified cause. |
|
Exception(java.lang.Throwable throwable)
Constructs a new Exception with the current stack trace and the
specified cause. |
Method Summary | |
---|---|
java.lang.Class[] |
getClassContext()
|
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 Exception()
Exception
that includes the current stack trace.
public Exception(java.lang.String detailMessage)
Exception
with the current stack trace and the
specified detail message.
detailMessage
- the detail message for this exception.public Exception(java.lang.String detailMessage, java.lang.Throwable throwable)
Exception
with the current stack trace, the
specified detail message and the specified cause.
detailMessage
- the detail message for this exception.throwable
- the cause of this exception.public Exception(java.lang.Throwable throwable)
Exception
with the current stack trace and the
specified cause.
throwable
- the cause of this exception.Method Detail |
---|
public java.lang.Class[] getClassContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |