|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--gishur.core.geom.GeomException
A generic geometric Exception.
Field Summary | |
static int |
ARGUMENT_OUT_OF_RANGE
Argument is out of Range. |
int |
errorcode
Errorcode |
static int |
ILLEGAL_ARGUMENT
Illegal argument. |
static int |
ILLEGAL_ARGUMENT_TYPE
Illegal argument type. |
static int |
MODIFY_IMMUTABLE_OBJECT
Tried to modify an immutable object. |
static int |
NULL_ARGUMENT
Illegal null argument. |
static int |
POINT_ON_CURVE_REQUIRED
The point does not lie on the curve as required. |
static int |
PRECISION_ERROR
The result is too unprecise. |
static int |
UNKNOWN
Unknown GeomException |
Constructor Summary | |
|
GeomException(int code)
Constructor for GeomExceptions. |
protected |
GeomException(int code,
java.lang.String message)
String constructor for GeomExceptions. |
Method Summary | |
protected static java.lang.String |
getErrorString(int code)
Returns the printed error string for the given Error code. |
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 |
public static final int UNKNOWN
public static final int NULL_ARGUMENT
public static final int ILLEGAL_ARGUMENT
public static final int ILLEGAL_ARGUMENT_TYPE
public static final int MODIFY_IMMUTABLE_OBJECT
public static final int ARGUMENT_OUT_OF_RANGE
public static final int PRECISION_ERROR
public static final int POINT_ON_CURVE_REQUIRED
public int errorcode
Constructor Detail |
public GeomException(int code)
code
- errorcodeprotected GeomException(int code, java.lang.String message)
code
- errorcodemessage
- string with errormessageMethod Detail |
protected static java.lang.String getErrorString(int code)
code
- Errorcode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |