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

org.marc4j.marc.InvalidMARCException Maven / Gradle / Ivy


package org.marc4j.marc;

/**
 * A runtime exception thrown when invalid MARC is constructed.
 *
 * @author Kevin S. Clarke 
 */
public class InvalidMARCException extends RuntimeException {

    /**
     * A serialVersionUID for the class.
     */
    private static final long serialVersionUID = -3289277670563289403L;

    /**
     * An exception thrown when invalid MARC is encountered.
     */
    public InvalidMARCException() {
        super();
    }

    /**
     * An exception thrown when invalid MARC is encountered; included in the
     * exception is a detailed exception message.
     *
     * @param aMessage More information about the exception
     */
    public InvalidMARCException(final String aMessage) {
        super(aMessage);
    }

    /**
     * An exception thrown when invalid MARC is constructed; included in the
     * exception is a parent exception.
     *
     * @param aCause More information about the exception
     */
    public InvalidMARCException(final Exception aCause) {
        super(aCause);
    }

    /**
     * An exception thrown when invalid MARC is constructed; included in the
     * exception is a detailed exception message and a parent exception.
     *
     * @param aMessage More information about the exception
     * @param aCause A parent exception
     */
    public InvalidMARCException(final String aMessage, final Exception aCause) {
        super(aMessage, aCause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy