Class RepositoryException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RepositoryItemException

    public abstract class RepositoryException
    extends AbstractCheckedException
    The root of the hierarchy of all checked repository exceptions. Provides a way to wrap checked Exceptions with a root cause.

    Abstract because this exception should not be constructed directly. Rather, a more detailed subclass should be constructed and thrown.

    Since:
    2.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RepositoryException​(java.lang.String message)
      Constructs a RepositoryException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • RepositoryException

        public RepositoryException​(java.lang.String message)
        Constructs a RepositoryException with the specified detail message.
        Parameters:
        message - The detail message (which is saved for later retrieval by AbstractCheckedException.getMessage()).