Class MetadataImportInvalidHeadingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dspace.app.bulkedit.MetadataImportInvalidHeadingException
All Implemented Interfaces:
Serializable

public class MetadataImportInvalidHeadingException extends Exception
Metadata importer exception
Author:
Stuart Lewis
See Also:
  • Field Details

  • Constructor Details

    • MetadataImportInvalidHeadingException

      public MetadataImportInvalidHeadingException(String message, int theType, int theColumn)
      Instantiate a new MetadataImportInvalidHeadingException
      Parameters:
      message - the error message
      theType - the type of the error
      theColumn - column number
  • Method Details

    • getType

      public String getType()
      Get the type of the exception
      Returns:
      the type of the exception
    • getBadHeader

      public String getBadHeader()
      Get the heading that was invalid
      Returns:
      the invalid heading
    • getColumn

      public int getColumn()
      Get the column number that was invalid
      Returns:
      the invalid column number
    • getMessage

      public String getMessage()
      Get the exception message
      Overrides:
      getMessage in class Throwable
      Returns:
      The exception message