com.pdflib
Class TETException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.pdflib.TETException
All Implemented Interfaces:
java.io.Serializable

public class TETException
extends java.lang.Exception

Text and Image Extraction Toolkit (TET): Toolkit for extracting Text, Images, and Metadata from PDF Documents
Exception handling for TET.

Version:
5.2
Author:
Rainer Schaaf
See Also:
Serialized Form

Constructor Summary
TETException()
           
TETException(java.lang.String msg)
           
TETException(java.lang.String msg, int errnum, java.lang.String apiname)
           
 
Method Summary
 java.lang.String get_apiname()
          Get the name of the API function which caused the exception.
 java.lang.String get_errmsg()
          Map standard getMessage method to get_errmsg.
 int get_errnum()
          Get the error number of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TETException

public TETException()

TETException

public TETException(java.lang.String msg)

TETException

public TETException(java.lang.String msg,
                    int errnum,
                    java.lang.String apiname)
Method Detail

get_errmsg

public java.lang.String get_errmsg()
Map standard getMessage method to get_errmsg.

Returns:
A string describing the error, or an empty string if the last API call didn't cause any error.

get_errnum

public int get_errnum()
Get the error number of the exception.

Returns:
The exception's error number.

get_apiname

public java.lang.String get_apiname()
Get the name of the API function which caused the exception.

Returns:
The name of an API function.