Module stormpot
Package stormpot

Class PoolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PoolException
    extends java.lang.RuntimeException

    The PoolException may be thrown by a pool implementation in a number of circumstances:

    Author:
    Chris Vest <mr.chrisvest@gmail.com>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PoolException​(java.lang.String message)
      Construct a new PoolException with the given message.
      PoolException​(java.lang.String message, java.lang.Throwable cause)
      Construct a new PoolException with the given message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PoolException

        public PoolException​(java.lang.String message)

        Construct a new PoolException with the given message.

        Parameters:
        message - A description of the exception to be returned from Throwable.getMessage().
        See Also:
        RuntimeException(String)
      • PoolException

        public PoolException​(java.lang.String message,
                             java.lang.Throwable cause)

        Construct a new PoolException with the given message and cause.

        Parameters:
        message - A description for the exception to be returned form Throwable.getMessage().
        cause - The underlying cause of this exception, as to be shown in the stack trace, and available through Throwable.getCause().
        See Also:
        RuntimeException(String, Throwable)