Module stormpot

Class PoisonException

java.lang.Object
java.lang.Throwable
java.lang.Exception
stormpot.internal.PoisonException
All Implemented Interfaces:
Serializable

public final class PoisonException extends Exception
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 Details

    • PoisonException

      public PoisonException(String message)
      Create a new exception with the given message.
      Parameters:
      message - The message of the exception.