public class SignatureReportException
extends java.lang.Exception
Class that contains information about an error occurred while generating a signature report.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static int |
AFIRMA_INVOKER_ERROR
Attribute that represents an error while invoking to '@firma'.
|
static int |
DOCUMENT_PROCESS_ERROR
Attribute that represents an error while processing signed data.
|
static int |
INVALID_INPUT_PARAMETERS
Attribute that represents that the input parameters supplied to manager are invalid.
|
static int |
INVALID_PLATFORM_ID
Attribute that represents that not found platform with identifier supplied.
|
static int |
INVALID_SOAP_SIGNATURE
Attribute that indicates the SOAP signature is not valid.
|
static int |
INVALID_TEMPLATE
Attribute that represents the template is not valid.
|
static int |
NOT_SUPPORTED
Attribute that represents the operation is not supported.
|
static int |
SIGNATURE_PROCESS_ERROR
Attribute that represents an error while processing signature.
|
static int |
UNKNOWN_ERROR
Attribute that represents that a unknown error has occurred.
|
static int |
XML_REQUEST_ERROR
Attribute that represents an error while creating XML request.
|
static int |
XML_RESPONSE_ERROR
Attribute that represents an error while reading XML response.
|
| Constructor and Description |
|---|
SignatureReportException(int errorCode,
java.lang.String message)
Constructor method for the class SignatureManagerException.java.
|
SignatureReportException(int errorCode,
java.lang.String message,
java.lang.Throwable errorCause)
Constructor method for the class SignatureManagerException.java.
|
SignatureReportException(java.lang.String message,
java.lang.Throwable cause)
Constructor method for the class SignatureManagerException.java.
|
SignatureReportException(java.lang.Throwable cause)
Constructor method for the class SignatureManagerException.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 errorCode)
Sets the value of the attribute 'code'.
|
void |
setDescription(java.lang.String message)
Sets the value of the attribute 'description'.
|
public static final int UNKNOWN_ERROR
public static final int INVALID_PLATFORM_ID
public static final int NOT_SUPPORTED
public static final int SIGNATURE_PROCESS_ERROR
public static final int INVALID_INPUT_PARAMETERS
public static final int DOCUMENT_PROCESS_ERROR
public static final int XML_REQUEST_ERROR
public static final int AFIRMA_INVOKER_ERROR
public static final int XML_RESPONSE_ERROR
public static final int INVALID_SOAP_SIGNATURE
public static final int INVALID_TEMPLATE
public SignatureReportException(java.lang.Throwable cause)
cause - Error cause.public SignatureReportException(int errorCode,
java.lang.String message)
errorCode - Error code.message - Parameter that represents a description of error.public SignatureReportException(java.lang.String message,
java.lang.Throwable cause)
message - Error message.cause - Error cause.public SignatureReportException(int errorCode,
java.lang.String message,
java.lang.Throwable errorCause)
errorCode - Error code.message - Parameter that represents a description of error.errorCause - Error cause.public int getCode()
public void setCode(int errorCode)
errorCode - The value for the attribute 'code'.public java.lang.String getDescription()
public void setDescription(java.lang.String message)
message - The value for the attribute 'description'.