public class RuntimeException extends Exception
Constructor and Description |
---|
RuntimeException()
Constructs a RuntimeException with no detail message.
|
RuntimeException(String s)
Constructs a RuntimeException with the specified detail message.
|
RuntimeException(String s,
Throwable cause)
Constructs a RuntimeException with the specified detail message and cause.
|
RuntimeException(Throwable cause)
Constructs a RuntimeException with specified cause.
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public RuntimeException()
public RuntimeException(String s)
public RuntimeException(Throwable cause)
cause
- The cause of the exception.