gishur.core
Class TreeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--gishur.core.TreeException
- All Implemented Interfaces:
- java.io.Serializable
- public class TreeException
- extends java.lang.RuntimeException
Exception thrown by classes based on BasicTree
(like
BinarySearchTree
or {RedBlackTree
).
- Version:
- 1.1
- Author:
- Thomas Wolf
- See Also:
- Serialized Form
Field Summary |
int |
errorcode
Errorcode |
java.lang.Object |
param
Element, that produced the error |
static int |
SET_RANK
Error setting the rank of the node |
static int |
UNKNOWN_ERROR
Unknown error. |
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 |
UNKNOWN_ERROR
public static final int UNKNOWN_ERROR
- Unknown error.
SET_RANK
public static final int SET_RANK
- Error setting the rank of the node
param
public java.lang.Object param
- Element, that produced the error
errorcode
public int errorcode
- Errorcode
TreeException
public TreeException(int errorcode,
java.lang.Object param)
- Constructor.
- Parameters:
errorcode
- error codeparam
- Object that produced the error
TreeException
public TreeException(int errorcode)
- Constructor.
- Parameters:
errorcode
- error code