Class SignatureReportException

  • All Implemented Interfaces:
    java.io.Serializable

    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@.

    Version:
    1.0, 19/08/2020.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field 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 Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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'.
      • 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
    • Field Detail

      • UNKNOWN_ERROR

        public static final int UNKNOWN_ERROR
        Attribute that represents that a unknown error has occurred.
        See Also:
        Constant Field Values
      • INVALID_PLATFORM_ID

        public static final int INVALID_PLATFORM_ID
        Attribute that represents that not found platform with identifier supplied.
        See Also:
        Constant Field Values
      • NOT_SUPPORTED

        public static final int NOT_SUPPORTED
        Attribute that represents the operation is not supported.
        See Also:
        Constant Field Values
      • SIGNATURE_PROCESS_ERROR

        public static final int SIGNATURE_PROCESS_ERROR
        Attribute that represents an error while processing signature.
        See Also:
        Constant Field Values
      • INVALID_INPUT_PARAMETERS

        public static final int INVALID_INPUT_PARAMETERS
        Attribute that represents that the input parameters supplied to manager are invalid.
        See Also:
        Constant Field Values
      • DOCUMENT_PROCESS_ERROR

        public static final int DOCUMENT_PROCESS_ERROR
        Attribute that represents an error while processing signed data.
        See Also:
        Constant Field Values
      • XML_REQUEST_ERROR

        public static final int XML_REQUEST_ERROR
        Attribute that represents an error while creating XML request.
        See Also:
        Constant Field Values
      • AFIRMA_INVOKER_ERROR

        public static final int AFIRMA_INVOKER_ERROR
        Attribute that represents an error while invoking to '@firma'.
        See Also:
        Constant Field Values
      • XML_RESPONSE_ERROR

        public static final int XML_RESPONSE_ERROR
        Attribute that represents an error while reading XML response.
        See Also:
        Constant Field Values
      • INVALID_SOAP_SIGNATURE

        public static final int INVALID_SOAP_SIGNATURE
        Attribute that indicates the SOAP signature is not valid.
        See Also:
        Constant Field Values
      • INVALID_TEMPLATE

        public static final int INVALID_TEMPLATE
        Attribute that represents the template is not valid.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SignatureReportException

        public SignatureReportException​(java.lang.Throwable cause)
        Constructor method for the class SignatureManagerException.java.
        Parameters:
        cause - Error cause.
      • SignatureReportException

        public SignatureReportException​(int errorCode,
                                        java.lang.String message)
        Constructor method for the class SignatureManagerException.java.
        Parameters:
        errorCode - Error code.
        message - Parameter that represents a description of error.
      • SignatureReportException

        public SignatureReportException​(java.lang.String message,
                                        java.lang.Throwable cause)
        Constructor method for the class SignatureManagerException.java.
        Parameters:
        message - Error message.
        cause - Error cause.
      • SignatureReportException

        public SignatureReportException​(int errorCode,
                                        java.lang.String message,
                                        java.lang.Throwable errorCause)
        Constructor method for the class SignatureManagerException.java.
        Parameters:
        errorCode - Error code.
        message - Parameter that represents a description of error.
        errorCause - Error cause.
    • Method Detail

      • getCode

        public int getCode()
        Gets the value of the attribute 'code'.
        Returns:
        the value of the attribute 'code'.
      • setCode

        public void setCode​(int errorCode)
        Sets the value of the attribute 'code'.
        Parameters:
        errorCode - The value for the attribute 'code'.
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the attribute 'description'.
        Returns:
        the value of the attribute 'description'.
      • setDescription

        public void setDescription​(java.lang.String message)
        Sets the value of the attribute 'description'.
        Parameters:
        message - The value for the attribute 'description'.