Class InventoryReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gov.nasa.pds.tools.inventory.reader.InventoryReaderException
- All Implemented Interfaces:
Serializable
Exception class for handling errors when reading a PDS Inventory file.
- Author:
- mcayanan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InventoryReaderException
Constructor.- Parameters:
exception- An exception.
-
-
Method Details
-
getException
- Returns:
- Returns the exception.
-
getLineNumber
public int getLineNumber()- Returns:
- Returns the line number associated with the exception. Could be -1 if it was not set.
-
setLineNumber
public void setLineNumber(int line) Sets the line number.- Parameters:
line- An integer value.
-