|
|||||||||
| 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.hcarralero.toljava.TOLSetException
public class TOLSetException
Representa una condición de error ocurrida durante la manipulación de un
objeto de tipo TOLSet.
| Field Summary | |
|---|---|
static int |
ERROR_INDEX_OUT_OF_BOUND
ERROR: Se intenta acceder a un elemento con índice fuera de rango (<0 o mayor que la capacidad del conjunto) |
static int |
ERROR_INTERNAL_JVM_ERROR
ERROR: Error interno de JVM al realizar una operación |
static int |
ERROR_NULL_OBJECT
ERROR: Se intenta añadir un valor NULO al conjunto |
static int |
NO_ERROR
No ha ocurrido ningún error (¡IMPOSIBLE!) |
| Constructor Summary | |
|---|---|
TOLSetException(int errorCode,
java.lang.String msg)
Construye una instancia de TOLSetException con el código y mensaje de error especificados |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Retorna el código del error que provocó que se lanzara la excepción. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_ERROR
public static final int ERROR_NULL_OBJECT
public static final int ERROR_INTERNAL_JVM_ERROR
public static final int ERROR_INDEX_OUT_OF_BOUND
| Constructor Detail |
|---|
public TOLSetException(int errorCode,
java.lang.String msg)
TOLSetException con el código y mensaje de error especificados
errorCode - Código del error que provocó que se lanzara la excepciónmsg - mensaje describiendo el error que provocó que se lanzara la excepción| Method Detail |
|---|
public int getErrorCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||