Package dev.efekos.arn.exception
Class ArnException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.efekos.arn.exception.ArnException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArnArgumentException
,ArnCommandException
,ArnContainerException
Base exception type thrown by Arn.
- Since:
- 0.3
- Author:
- efekos
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.ArnException
(String message) Creates a new exception.ArnException
(String message, Throwable cause) Creates a new exception.ArnException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new exception.ArnException
(Throwable cause) Creates a new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArnException
public ArnException()Creates a new exception. -
ArnException
Creates a new exception.- Parameters:
message
- Exception message.
-
ArnException
Creates a new exception.- Parameters:
message
- Exception message.cause
- Exception cause.
-
ArnException
Creates a new exception.- Parameters:
cause
- Exception cause.
-
ArnException
public ArnException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new exception.- Parameters:
message
- Exception message.cause
- Exception cause.enableSuppression
- Whether suppression should be enabled.writableStackTrace
- Whether stack trace is writeable
-