edu.uoc.tfc.j2ee.icampanario.components.signer.exception
Class SignerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.uoc.tfc.j2ee.icampanario.components.signer.exception.SignerException
All Implemented Interfaces:
java.io.Serializable

public class SignerException
extends java.lang.Exception

Clase para las excepciones del componente Signer

Author:
Ismael Campanario Cabrera
See Also:
Serialized Form

Constructor Summary
SignerException(java.lang.Exception e)
          Constructor
SignerException(int error, java.lang.String message)
          Constructor
SignerException(int error, java.lang.String message, java.lang.Exception e)
          Constructor
SignerException(java.lang.String message)
          Constructor
 
Method Summary
 int getErrorCode()
          Devuelve el código de error
 void setErrorCode(int errorCode)
          Establece el código de error
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignerException

public SignerException(int error,
                       java.lang.String message)
Constructor

Parameters:
error - Código de error
message - Mensaje de error

SignerException

public SignerException(java.lang.String message)
Constructor

Parameters:
message - Mensaje de error

SignerException

public SignerException(int error,
                       java.lang.String message,
                       java.lang.Exception e)
Constructor

Parameters:
error - Código de error
message - Mensaje de error
e - Exception original

SignerException

public SignerException(java.lang.Exception e)
Constructor

Parameters:
e - Exception original
Method Detail

getErrorCode

public int getErrorCode()
Devuelve el código de error

Returns:
Código de error

setErrorCode

public void setErrorCode(int errorCode)
Establece el código de error

Parameters:
errorCode - Código de error