public class PDFNetException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cond_expr
The cond_expr.
|
protected java.lang.String |
file_name
The file_name.
|
protected java.lang.String |
function
The function.
|
protected long |
line_number
The line_number.
|
protected java.lang.String |
message
The message.
|
| Constructor and Description |
|---|
PDFNetException(java.lang.String cond_expr,
long line_number,
java.lang.String file_name,
java.lang.String function,
java.lang.String message)
Instantiates a new PDFNetException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCondExpr()
Get the conditional expression that caused the exception
|
java.lang.String |
getFileName()
Get the filename indicating where the exception occurred.
|
java.lang.String |
getFunction()
Get the function name where the exception occurred.
|
int |
getLineNumber()
Get the line number indicating where the exception occurred.
|
java.lang.String |
getMessage()
Get the detailed error message.
|
java.lang.String |
toString()
String representation of PDFNetException object
|
protected java.lang.String cond_expr
protected java.lang.String file_name
protected long line_number
protected java.lang.String function
protected java.lang.String message
public PDFNetException(java.lang.String cond_expr,
long line_number,
java.lang.String file_name,
java.lang.String function,
java.lang.String message)
cond_expr, - conditional expression that failed.line_number, - the line number where the exception occurredfile_name, - the file name where the exception occurredfunction, - the function in which the exception occurredmessage, - the detailed error message.public java.lang.String getCondExpr()
public java.lang.String getFileName()
public int getLineNumber()
public java.lang.String getFunction()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable