|
|||||||||||
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.custodia.CustodiaException
La clase CustodiaException representa una excepción ocurrida en los métodos de la interfaz CustodiaDocumentosFacade.
Field Summary | |
static int |
ELEMENTO_NO_ENCONTRADO
Constante que identifica el tipo de error elemento no encontrado. |
static int |
ERROR_NO_DEFINIDO
Constante que identifica el tipo de error no definido. |
static int |
ERROR_PARAMS_ENTRADA
Constante que identifica el tipo de error parámetros de entrada incorrectos. |
Constructor Summary | |
CustodiaException()
Constructor por defecto |
|
CustodiaException(java.lang.String msg)
Contructor con mensaje explicativo del error producido. |
|
CustodiaException(java.lang.String msg,
int error)
Contructor con mensaje explicativo y tipo del error producido. |
Method Summary | |
int |
getTipo()
Devuelve el tipo de excepción ocurrida que corresponde a uno de los valores estáticos enteros definidos en la clase. |
java.lang.String |
toString()
Serialización de la excepción a cadena. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
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 ERROR_PARAMS_ENTRADA
public static final transient int ELEMENTO_NO_ENCONTRADO
Constructor Detail |
public CustodiaException()
public CustodiaException(java.lang.String msg)
msg
- Mensaje explicativo del error.public CustodiaException(java.lang.String msg, int error)
msg
- Mensaje explicativo del error.error
- Tipo del error.Method Detail |
public int getTipo()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |