com.pdflib

## Class TETException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.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:
    6.0
  Author:
    Rainer Schaaf
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TETException()` PDFlibException()
    `TETException(java.lang.String msg)` PDFlibException(String msg)
    `TETException(java.lang.String msg, int errnum, java.lang.String apiname)` PDFlibException(String msg, int errnum, String apiname)

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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()

      PDFlibException()

    - #### TETException

          public TETException(java.lang.String msg)

      PDFlibException(String msg)
      Parameters:
        `msg` - msg

    - #### TETException

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

      PDFlibException(String msg, int errnum, String apiname)
      Parameters:
        `msg` - msg
        `errnum` - errnum
        `apiname` - 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.