public class LibraryException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
LibraryException(java.lang.String message,
int errorCode,
java.lang.String objectName,
java.lang.String additionalInfo)
Exception thrown when there is an error processing a Library call.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdditionalInfo()
Retrieve additional information about the exception.
|
int |
getErrorCode()
Retrieve the internal PDF Library error code.
|
java.lang.String |
getObjectName()
Retrieve the name of the object that caused the exception.
|
public LibraryException(java.lang.String message,
int errorCode,
java.lang.String objectName,
java.lang.String additionalInfo)
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.public int getErrorCode()
public java.lang.String getObjectName()
public java.lang.String getAdditionalInfo()