|
||||||||||
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. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
getMessage, 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |