All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.freelibrary.pairtree.InvalidPathException Maven / Gradle / Ivy


package info.freelibrary.pairtree;

/**
 * An exception thrown for an invalid Pairtree path.
 */
public class InvalidPathException extends PairtreeException {

    /**
     * The serialVersionUID for InvalidPpathException.
     */
    private static final long serialVersionUID = -3816513744343123355L;

    /**
     * Creates an invalid Pairtree path exception.
     *
     * @param aMessage An exception message
     */
    public InvalidPathException(final String aMessage) {
        super(aMessage);
    }

    /**
     * Creates an invalid Pairtree path exception that takes an exception message and additional details to be input
     * into the {}s in the message.
     *
     * @param aMessage An exception message
     * @param aDetailsVarargs Additional details to insert into the message
     */
    public InvalidPathException(final String aMessage, final Object... aDetailsVarargs) {
        super(aMessage, aDetailsVarargs);
    }

    /**
     * Creates an invalid Pairtree path exception that takes an exception message and a related exception.
     *
     * @param aMessage An exception message
     * @param aCause An upstream exception
     */
    public InvalidPathException(final Exception aCause, final String aMessage) {
        super(aCause, aMessage);
    }

    /**
     * Creates an invalid Pairtree path exception that takes an exception message, a related exception, and additional
     * details to be input into the {}s in the message.
     *
     * @param aMessage An exception message
     * @param aCause An upstream exception
     * @param aDetailsVarargs Additional details to insert into the message
     */
    public InvalidPathException(final Exception aCause, final String aMessage, final Object... aDetailsVarargs) {
        super(aCause, aMessage, aDetailsVarargs);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy