Module jp.ecuacion.lib.core
Class LibRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jp.ecuacion.lib.core.exception.unchecked.LibRuntimeException
- All Implemented Interfaces:
Serializable
Is thorwn just like
RuntimeException whose message contains "ecuacion"
so that you can see the Ezxception is thrown from the library.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLibRuntimeException(String message) Constructs a new instance withmassage.LibRuntimeException(String message, Throwable cause) Constructs a new instance withmassageandcause.LibRuntimeException(Throwable cause) Constructs a new instance withcause. -
Method Summary
Modifier and TypeMethodDescriptionReturns message with a prefix added by the library.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LibRuntimeException
Constructs a new instance withmassage.- Parameters:
message- message. May be null, which meaans it has no messages.
-
LibRuntimeException
Constructs a new instance withcause.- Parameters:
cause- cause
-
LibRuntimeException
Constructs a new instance withmassageandcause.- Parameters:
message- messagecause- cause
-
-
Method Details
-
getMessage
Returns message with a prefix added by the library.- Overrides:
getMessagein classThrowable- Returns:
- message message. May be null, which means message is null.
-