Class MetadataImportInvalidHeadingException

  • All Implemented Interfaces:
    Serializable

    public class MetadataImportInvalidHeadingException
    extends Exception
    Metadata importer exception
    Author:
    Stuart Lewis
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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