gishur.gui2
Class DrawException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--gishur.gui2.DrawException
All Implemented Interfaces:
java.io.Serializable

public class DrawException
extends java.lang.RuntimeException

Exception thrown by dynamic data structures while linking.

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

Field Summary
 java.lang.Object arg
          Argument
 int errorcode
          Errorcode.
static int INTERNAL_ERROR
          Internal error.
static int INVALID_DRAWMANAGER
          Invalid DrawManager set.
static int INVALID_METHODCALL
          Invalid method call.
static int INVALID_RENDERCALL
          Invalid call of a rendering method
static int LINK_ERROR
          Error linking DrawAtoms.
static int NOT_CONNECTED
          Object is not connected.
static int PROPERTY_NOT_SET
          A required property was not set.
static int UNKNOWN_ERROR
          Unknown error.
 
Constructor Summary
DrawException(int errorcode)
          Constructor.
DrawException(int errorcode, java.lang.Object arg)
          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.

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Internal error.

NOT_CONNECTED

public static final int NOT_CONNECTED
Object is not connected.

PROPERTY_NOT_SET

public static final int PROPERTY_NOT_SET
A required property was not set.

INVALID_METHODCALL

public static final int INVALID_METHODCALL
Invalid method call.

INVALID_RENDERCALL

public static final int INVALID_RENDERCALL
Invalid call of a rendering method

LINK_ERROR

public static final int LINK_ERROR
Error linking DrawAtoms.

INVALID_DRAWMANAGER

public static final int INVALID_DRAWMANAGER
Invalid DrawManager set.

errorcode

public int errorcode
Errorcode.

arg

public java.lang.Object arg
Argument
Constructor Detail

DrawException

public DrawException(int errorcode,
                     java.lang.Object arg)
Constructor.
Parameters:
errorcode - error code
arg - argument of the error

DrawException

public DrawException(int errorcode)
Constructor.
Parameters:
i - object, where the link error occured
errorcode - error code