public class UtilsException
extends java.lang.Exception
Class that contains information about an error that occurred in one of the utility classes.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_FILE_ERROR
Attribute that represents that an error occurs while the system access to a file.
|
static int |
INVALID_CONCATENATION_RULE
Attribute that represents the concatenation rule isn't valid.
|
static int |
INVALID_FO_FILE
Attribute that represents the document is not a valid XSL-FO file.
|
static int |
INVALID_ODF_FILE
Attribute that represents the document isn't a valid ODF.
|
static int |
INVALID_PAGE_NUMBER
Attribute that represents the error code associated to invalid number of page.
|
static int |
INVALID_PDF_FILE
Attribute that represents the file supplied is not valid PDF.
|
static int |
INVALID_ROTATED_ANGLE
Attribute that represents the rotated angle is not allow.
|
static int |
INVALID_SIGNATURE
Attribute that represents the code associated to a invalid signature.
|
static int |
OPERATION_NOT_ALLOWED
Attribute that represents the operation is not allowed.
|
static int |
UNKNOWN_ERROR
Attribute that represents the code associated to unknown error.
|
static int |
XML_PARSER_ERROR
Attribute that represents the code associated to XML parser error.
|
static int |
XPATH_ERROR
Attribute that represents the code associated to an error while search by XPATH.
|
static int |
XSL_TRANSFORM_ERROR
Attribute that represents the code associated to an error while transform by XSLT.
|
| Constructor and Description |
|---|
UtilsException(int code,
java.lang.String description)
Constructor method for the class TransformException.java.
|
UtilsException(int code,
java.lang.String description,
java.lang.Throwable cause)
Constructor method for the class TransformException.java.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the value of the attribute 'code'.
|
java.lang.String |
getDescription()
Gets the value of the attribute 'description'.
|
void |
setCode(int code)
Sets the value of the attribute 'code'.
|
void |
setDescription(java.lang.String description)
Sets the value of the attribute 'description'.
|
public static final int UNKNOWN_ERROR
public static final int XML_PARSER_ERROR
public static final int XPATH_ERROR
public static final int INVALID_SIGNATURE
public static final int XSL_TRANSFORM_ERROR
public static final int INVALID_PAGE_NUMBER
public static final int INVALID_PDF_FILE
public static final int INVALID_CONCATENATION_RULE
public static final int ACCESS_FILE_ERROR
public static final int INVALID_ODF_FILE
public static final int OPERATION_NOT_ALLOWED
public static final int INVALID_FO_FILE
public static final int INVALID_ROTATED_ANGLE
public UtilsException(int code,
java.lang.String description)
code - Code of error.description - Description of error.public UtilsException(int code,
java.lang.String description,
java.lang.Throwable cause)
code - Code of error.description - Description of error.cause - Error cause.public int getCode()
public void setCode(int code)
code - The value for the attribute 'code'.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The value for the attribute 'description'.