public class MetadataImportInvalidHeadingException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
ELEMENT
Error with the element
|
static int |
ENTRY
Error with the whole entry
|
static int |
MISSING
Error with a missing header
|
static int |
SCHEMA
Error with the schema
|
| Constructor and Description |
|---|
MetadataImportInvalidHeadingException(String message,
int theType,
int theColumn)
Instantiate a new MetadataImportInvalidHeadingException
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBadHeader()
Get the heading that was invalid
|
int |
getColumn()
Get the column number that was invalid
|
String |
getMessage()
Get the exception message
|
String |
getType()
Get the type of the exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int SCHEMA
public static final int ELEMENT
public static final int MISSING
public static final int ENTRY
public MetadataImportInvalidHeadingException(String message, int theType, int theColumn)
message - the error messagetheType - the type of the errorpublic String getType()
public String getBadHeader()
public int getColumn()
public String getMessage()
getMessage in class ThrowableCopyright © 2013 DuraSpace. All Rights Reserved.