Class JctIllegalInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.ascopes.jct.ex.JctException
io.github.ascopes.jct.ex.JctIllegalInputException
- All Implemented Interfaces:
Serializable
Exception raised if an illegal input is provided to a method.
- Since:
- 1.1.0
- Author:
- Ashley Scopes
- See Also:
-
Constructor Summary
ConstructorDescriptionJctIllegalInputException
(String message) Initialise the exception.JctIllegalInputException
(String message, @Nullable Throwable cause) Initialise the exception with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JctIllegalInputException
Initialise the exception.- Parameters:
message
- the message to report.
-
JctIllegalInputException
Initialise the exception with a cause.- Parameters:
message
- the message to report.cause
- the cause of the exception (ornull
if no cause exists).
-