Class FactoryException

    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryException()
      Construct an exception with no detail message.
      FactoryException​(Exception cause)
      Construct an exception with the specified cause.
      FactoryException​(String message)
      Construct an exception with the specified detail message.
      FactoryException​(String message, Throwable cause)
      Construct an exception with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class Throwable

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

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

      • FactoryException

        public FactoryException()
        Construct an exception with no detail message.
      • FactoryException

        public FactoryException​(String message)
        Construct an exception with the specified detail message.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      • FactoryException

        public FactoryException​(Exception cause)
        Construct an exception with the specified cause. The detail message is copied from the cause localized message.
        Parameters:
        cause - The cause for this exception. The cause is saved for later retrieval by the Throwable.getCause() method.
      • FactoryException

        public FactoryException​(String message,
                                Throwable cause)
        Construct an exception with the specified detail message and cause. The cause is the exception thrown in the underlying database (e.g. IOException or SQLException).
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        cause - The cause for this exception. The cause is saved for later retrieval by the Throwable.getCause() method.