Package com.pdflib

Class 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.3
    Author:
    Rainer Schaaf
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TETException()  
      TETException​(java.lang.String msg)  
      TETException​(java.lang.String msg, int errnum, java.lang.String apiname)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()
      • 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.