RuntimeException (Java SE 10 & JDK 10 )
-
-
Constructor Summary
Constructors Modifier Constructor Description RuntimeException()Constructs a new runtime exception with
nullas 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.
protectedRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
RuntimeException(Throwable cause)Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).
-
Method Summary
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-