gishur.gui2
Class ShapeException

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

public class ShapeException
extends java.lang.RuntimeException

Exception thrown by dynamic data structures while linking.

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

Field Summary
 int errorcode
          Errorcode.
static int ILLEGAL_LOCAL_PARAMETER
          Illegal local parameter format.
static int ILLEGAL_SHAPE_NAME
          Illegal shape name.
static int METHOD_NOT_SUPPORTED
          Method not supported.
 Shape shape
          Shape
static int UNKNOWN_ERROR
          Unknown error.
 
Constructor Summary
ShapeException(int errorcode)
          Constructor.
ShapeException(int errorcode, Shape 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.

METHOD_NOT_SUPPORTED

public static final int METHOD_NOT_SUPPORTED
Method not supported.

ILLEGAL_LOCAL_PARAMETER

public static final int ILLEGAL_LOCAL_PARAMETER
Illegal local parameter format.

ILLEGAL_SHAPE_NAME

public static final int ILLEGAL_SHAPE_NAME
Illegal shape name.

errorcode

public int errorcode
Errorcode.

shape

public Shape shape
Shape
Constructor Detail

ShapeException

public ShapeException(int errorcode,
                      Shape arg)
Constructor.
Parameters:
errorcode - error code
arg - argument of the error

ShapeException

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