gishur.x.voronoi
Class VoronoiException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--gishur.x.voronoi.VoronoiException
All Implemented Interfaces:
java.io.Serializable

public class VoronoiException
extends java.lang.RuntimeException

Ausnahmen bei der Berechnung von Voronoi-Diagrammen und Skeletten.

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

Field Summary
 java.lang.Object argument
          Argument für den Fehler
 int errorcode
          Fehlercode.
static int ILLEGAL_SKELETON_BASE
           
static int ILLEGAL_SKELETON_EDGE
           
static int INVALID_POLYGON
           
static int NO_ENDCUT
           
static int NO_ERROR
           
static int NON_VALID_BASE_EDGE
           
 
Constructor Summary
VoronoiException(int errorcode)
          Konstruktor.
VoronoiException(int errorcode, java.lang.Object arg)
          Konstruktor.
 
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

NO_ERROR

public static final int NO_ERROR

INVALID_POLYGON

public static final int INVALID_POLYGON

ILLEGAL_SKELETON_BASE

public static final int ILLEGAL_SKELETON_BASE

ILLEGAL_SKELETON_EDGE

public static final int ILLEGAL_SKELETON_EDGE

NON_VALID_BASE_EDGE

public static final int NON_VALID_BASE_EDGE

NO_ENDCUT

public static final int NO_ENDCUT

errorcode

public int errorcode
Fehlercode. Eine entsprechende Fehlerkonstante.

argument

public java.lang.Object argument
Argument für den Fehler
Constructor Detail

VoronoiException

public VoronoiException(int errorcode)
Konstruktor.
Parameters:
errorcode - das Problem als Fehlercode

VoronoiException

public VoronoiException(int errorcode,
                        java.lang.Object arg)
Konstruktor.
Parameters:
errorcode - das Problem als Fehlercode
arg - Argument