|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--gishur.core.ListException
Exception thrown by classes based on BasicList
(like
SimpleList
, {Stack
or Queue
).
Field Summary | |
static int |
EMPTY_LIST
List is empty |
int |
errorcode
Errorcode |
static int |
ILLEGAL_ACCESS
Illegal ListAccess |
static int |
ILLEGAL_OBJECT_FORMAT
Object has illegal format |
static int |
INSERTION_ERROR
Error while inserting elements |
static int |
NO_SUCH_ELEMENT
No such element found in list |
java.lang.Object |
param
Element, that produced the error |
static int |
UNKNOWN_ERROR
Unknown error. |
Constructor Summary | |
ListException(int errorcode)
Constructor. |
|
ListException(int errorcode,
java.lang.Object param)
Constructor. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_ERROR
public static final int EMPTY_LIST
public static final int NO_SUCH_ELEMENT
public static final int ILLEGAL_ACCESS
public static final int ILLEGAL_OBJECT_FORMAT
public static final int INSERTION_ERROR
public java.lang.Object param
public int errorcode
Constructor Detail |
public ListException(int errorcode, java.lang.Object param)
errorcode
- error codeparam
- Object that produced the errorpublic ListException(int errorcode)
errorcode
- error code
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |