java.lang.Object
java.lang.Throwable
java.lang.Exception
stormpot.internal.PoisonException
- All Implemented Interfaces:
Serializable
Exception type used to mark poison conditions on slots or in the pool.
This exception type is suitable for use in constants. Exception objects of this type do not include stack traces, and do not allow suppressed exceptions to be added to them.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPoisonException(String message) Create a new exception with the given 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
-
PoisonException
Create a new exception with the given message.- Parameters:
message- The message of the exception.
-