gishur.core.algorithms
Class TraceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--gishur.core.algorithms.TraceException
All Implemented Interfaces:
java.io.Serializable

public class TraceException
extends java.lang.RuntimeException

Exception thrown by TraceObjects and AlgorithmRecorders and so on.

Version:
1.0
Author:
Thomas Wolf
See Also:
Serialized Form

Field Summary
static int INVALID_NAME
          Invalid TraceObject name.
static int INVALID_TRACER
          Invalid Tracer.
static int NOT_IN_RECORD_MODE
          Try to make a record, but Tracer is not in record mode.
static int UNKNOWN_ERROR
          Unknown error.
 
Constructor Summary
TraceException(int errorcode)
          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

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
Unknown error.

INVALID_NAME

public static final int INVALID_NAME
Invalid TraceObject name.

INVALID_TRACER

public static final int INVALID_TRACER
Invalid Tracer.

NOT_IN_RECORD_MODE

public static final int NOT_IN_RECORD_MODE
Try to make a record, but Tracer is not in record mode.
Constructor Detail

TraceException

public TraceException(int errorcode)
Constructor.
Parameters:
errorcode - error code
param - Object that produced the error