com.pdflib
Class PDFlibException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.pdflib.PDFlibException
- public class PDFlibException
- extends java.lang.Exception
Exception handling for PDFlib.
- Version:
- 9.2.0
- Author:
- PDFlib GmbH
- See Also:
- Serialized Form
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,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
PDFlibException
public PDFlibException()
PDFlibException
public PDFlibException(java.lang.String msg)
PDFlibException
public PDFlibException(java.lang.String msg,
int errnum,
java.lang.String apiname)
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.