|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.telventi.autenticacion.x509validacion.ValidationException
Esta excepción indica que se ha producido un error al validar un certificado e indica el tipo de error producido.
Field Summary | |
static int |
CERTIFICADO_REVOCADO
Constante que identifica el tipo de error certificado revocado. |
static int |
ERROR_NO_DEFINIDO
Constante que identifica el tipo de error no definido. |
Constructor Summary | |
ValidationException()
Constructo por defecto |
|
ValidationException(java.lang.String msg)
Contructor con mensaje explicativo del error producido. |
|
ValidationException(java.lang.String msg,
int tipo)
Contructor con mensaje explicativo y tipo del error producido. |
Method Summary | |
int |
getTipo()
Método que devuelve el tipo del error producido. |
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 |
Field Detail |
public static final transient int ERROR_NO_DEFINIDO
public static final transient int CERTIFICADO_REVOCADO
Constructor Detail |
public ValidationException()
public ValidationException(java.lang.String msg)
msg
- Mensaje explicativo del error.public ValidationException(java.lang.String msg, int tipo)
msg
- Mensaje explicativo del error.tipo
- Tipo del error.Method Detail |
public int getTipo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |