LibraryException Class Documentation

classLibraryException : RuntimeException

Namespace:com::datalogics::PDFL

Inherits from:
RuntimeException

Detailed Description

Exception thrown when there is an error processing a Library call.

Constructor & Destructor Documentation

LibraryException

LibraryException(Stringmessage, interrorCode, StringobjectName, StringadditionalInfo)

Parameters

message: String

The detail message.

errorCode: int

The PDF Library error code.

objectName: String

The name of the object (i.e. a filename for a file) that caused the error.

additionalInfo: String

A string containing additional information about the object.

Exception thrown when there is an error processing a Library call.

Member Function Documentation

getAdditionalInfo

StringgetAdditionalInfo()

Returns:

A string containing additional information about the exception.

Retrieve additional information about the exception.

getErrorCode

intgetErrorCode()

Returns:

The error code for this exception.

Retrieve the internal PDF Library error code.

getObjectName

StringgetObjectName()

Returns:

The name of the object.

Retrieve the name of the object that caused the exception.