gishur.core
Class LinkException

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

public class LinkException
extends java.lang.RuntimeException

Exception thrown by dynamic data structures while linking.

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

Field Summary
static int CONNECT
          Error connecting two objects.
 int errorcode
          Errorcode.
 java.lang.Object i
          Objects, where the link error occured
 java.lang.Object j
          Objects, where the link error occured
static int NOT_ALLOWED
          Access Error.
static int REMOVE
          Error removing objects.
static int SET_OWNER
          Error changing the owner of an object.
static int UNKNOWN_ERROR
          Unknown error.
 
Constructor Summary
LinkException(int errorcode)
          Constructor.
LinkException(int errorcode, java.lang.Object i)
          Constructor.
LinkException(int errorcode, java.lang.Object i, java.lang.Object j)
          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.

CONNECT

public static final int CONNECT
Error connecting two objects.

SET_OWNER

public static final int SET_OWNER
Error changing the owner of an object.

REMOVE

public static final int REMOVE
Error removing objects.

NOT_ALLOWED

public static final int NOT_ALLOWED
Access Error.

i

public java.lang.Object i
Objects, where the link error occured

j

public java.lang.Object j
Objects, where the link error occured

errorcode

public int errorcode
Errorcode.
Constructor Detail

LinkException

public LinkException(int errorcode,
                     java.lang.Object i,
                     java.lang.Object j)
Constructor.
Parameters:
errorcode - error code
i - object, where the link error occured
j - object, where the link error occured

LinkException

public LinkException(int errorcode,
                     java.lang.Object i)
Constructor.
Parameters:
errorcode - error code
i - object, where the link error occured

LinkException

public LinkException(int errorcode)
Constructor.
Parameters:
errorcode - error code