|
|||||||||
| 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.lang.RuntimeException
public class RuntimeException
| Constructor Summary | |
|---|---|
RuntimeException()
Constructs a new runtime exception with null as its
detail message. |
|
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message. |
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause. |
|
RuntimeException(Throwable cause)
Constructs a new runtime exception with the specified cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeException()
null as its
detail message. The cause is not initialized.
public RuntimeException(String message)
message - the detail message. The detail message is saved for
later retrieval by the getMessage() method.
public RuntimeException(String message,
Throwable cause)
message - the detail message. The detail message is saved for
later retrieval by the getMessage() method.cause - the cause of the exception.public RuntimeException(Throwable cause)
cause - the cause of the exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||