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

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

Go to download

An easy to use Application Programming Interface (API) for working with MARC and MARCXML in Java.

There is a newer version: 2.6.12
Show newest version

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(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(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(String aMessage, Exception aCause) {
        super(aMessage, aCause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy