Package com.github.ngoanh2n
Class RuntimeError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.ngoanh2n.RuntimeError
- All Implemented Interfaces:
Serializable
Base runtime exception for com.github.ngoanh2n
- See Also:
-
Constructor Summary
ConstructorDescriptionRuntimeError
(String message) Construct a new runtime exception with the specified detail message.RuntimeError
(String message, Throwable cause) Construct a new runtime exception with the specified detail message and cause.RuntimeError
(Throwable cause) Construct a new runtime exception with the specified cause and a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeError
Construct a new runtime exception with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
RuntimeError
Construct a new runtime exception with the specified cause and a detail message.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
RuntimeError
Construct a new runtime exception with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-