|
|||||||||
| 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.TOLMatrixException
public class TOLMatrixException
Representa una condición de error ocurrida durante la manipulación de un
objeto de tipo TOLMatrix o TOLVMatrix.
| Field Summary | |
|---|---|
static int |
ERROR_INVALID_COLUMN_NUMBER
ERROR: Se intenta acceder a un NÚMERO DE COLUMNA NO VÁLIDO (<0 o >número de columnas de la matriz). |
static int |
ERROR_INVALID_COLUMNS
ERROR: Número de columnas de la matriz NO ES VÁLIDO (<=0). |
static int |
ERROR_INVALID_ROW_NUMBER
ERROR: Se intenta acceder a un NÚMERO DE FILA NO VÁLIDO (<0 o >número de filas de la matriz). |
static int |
ERROR_INVALID_ROWS
ERROR: Número de filas de la matriz NO ES VÁLIDO (<=0). |
static int |
ERROR_NOT_ENOUGH_MEMORY
ERROR: No hay memoria suficiente para crear la matriz. |
static int |
ERROR_NOT_EQUALS_ROWS
ERROR: No todas las filas tienen igual cantidad de columnas. |
static int |
NO_ERROR
No ha ocurrido ningún error (¡IMPOSIBLE!). |
| Constructor Summary | |
|---|---|
TOLMatrixException(int errorCode,
java.lang.String msg)
Construye una instancia de TOLMatrixException 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_INVALID_ROWS
public static final int ERROR_INVALID_COLUMNS
public static final int ERROR_INVALID_ROW_NUMBER
public static final int ERROR_INVALID_COLUMN_NUMBER
public static final int ERROR_NOT_ENOUGH_MEMORY
public static final int ERROR_NOT_EQUALS_ROWS
| Constructor Detail |
|---|
public TOLMatrixException(int errorCode,
java.lang.String msg)
TOLMatrixException con el código y mensaje de error especificados.
errorCode - Código del error que provocó que se lanzara la excepción.msg - 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 | ||||||||