Package com.datalogics.PDFL
Class LibraryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.datalogics.PDFL.LibraryException
- All Implemented Interfaces:
Serializable
Exception thrown when there is an error processing a Library call.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryException(String message, int errorCode, String objectName, String additionalInfo) Exception thrown when there is an error processing a Library call. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve additional information about the exception.intRetrieve the internal PDF Library error code.Retrieve the name of the object that caused the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LibraryException
Exception thrown when there is an error processing a Library call.- Parameters:
message- The detail message.errorCode- The PDF Library error code.objectName- The name of the object (i.e. a filename for a file) that caused the error.additionalInfo- A string containing additional information about the object.
-
-
Method Details
-
getErrorCode
public int getErrorCode()Retrieve the internal PDF Library error code.- Returns:
- The error code for this exception.
-
getObjectName
Retrieve the name of the object that caused the exception.- Returns:
- The name of the object.
-
getAdditionalInfo
Retrieve additional information about the exception.- Returns:
- A string containing additional information about the exception.
-