|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jdelaunay.delaunay.error.DelaunayError
public class DelaunayError
The exception that is used to describe the kind of errors that can happen when building or using a ConstrainedMesh or its elements in this library.
| Field Summary | |
|---|---|
static int |
DELAUNAY_ERROR_CAN_NOT_CONNECT_POINT
Failed at connecting the point to the mesh. |
static int |
DELAUNAY_ERROR_CAN_NOT_SPLIT_BP
Failed at splitting a boundary part. |
static int |
DELAUNAY_ERROR_ERROR_POINT_XYZ
|
static int |
DELAUNAY_ERROR_GENERATED
The mesh has been generated, and it shouldn't. |
static int |
DELAUNAY_ERROR_INCORRECT_TOPOLOGY
The topology is wrong. |
static int |
DELAUNAY_ERROR_INTERNAL_ERROR
Inner error. |
static int |
DELAUNAY_ERROR_INVALID_CALL
Bad call to a method |
static int |
DELAUNAY_ERROR_MESH_ALREADY_EXISTS
Failed at splitting a boundary part. |
static int |
DELAUNAY_ERROR_MISC
Other error |
static int |
DELAUNAY_ERROR_NO_ERROR
An error has been thrown, but it shouldn't happen... |
static int |
DELAUNAY_ERROR_NO_MESH
There is no mesh to work with. |
static int |
DELAUNAY_ERROR_NON_INSERTED_POINT
The point has not been inserted during the triangulation. |
static int |
DELAUNAY_ERROR_NOT_ENOUGH_POINTS_FOUND
We haven't found enough points to process our operation. |
static int |
DELAUNAY_ERROR_NOT_GENERATED
The mesh has not been generated, and it should have. |
static int |
DELAUNAY_ERROR_OUTSIDE_TRIANGLE
|
static int |
DELAUNAY_ERROR_POINT_NOT_FOUND
can't find the asked point. |
static int |
DELAUNAY_ERROR_PROXIMITY
The points are too close. |
static int |
DELAUNAY_ERROR_REMOVING_EDGE
Failed at removing an edge. |
| Constructor Summary | |
|---|---|
DelaunayError()
Default constructor, the associated message is DELAUNAY_INTERNAL_ERROR |
|
DelaunayError(int errorCode)
DelaunayError created with the wanted error code. |
|
DelaunayError(int errorCode,
String s)
DelaunayError created with both a custom message and a given error code. |
|
DelaunayError(String s)
DelaunayError instanciated with a custom message. |
|
| Method Summary | |
|---|---|
String |
getMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DELAUNAY_ERROR_NO_ERROR
public static final int DELAUNAY_ERROR_NO_MESH
public static final int DELAUNAY_ERROR_NOT_GENERATED
public static final int DELAUNAY_ERROR_GENERATED
public static final int DELAUNAY_ERROR_NOT_ENOUGH_POINTS_FOUND
public static final int DELAUNAY_ERROR_PROXIMITY
public static final int DELAUNAY_ERROR_POINT_NOT_FOUND
public static final int DELAUNAY_ERROR_CAN_NOT_CONNECT_POINT
public static final int DELAUNAY_ERROR_CAN_NOT_SPLIT_BP
public static final int DELAUNAY_ERROR_MESH_ALREADY_EXISTS
public static final int DELAUNAY_ERROR_NON_INSERTED_POINT
public static final int DELAUNAY_ERROR_INCORRECT_TOPOLOGY
public static final int DELAUNAY_ERROR_OUTSIDE_TRIANGLE
public static final int DELAUNAY_ERROR_REMOVING_EDGE
public static final int DELAUNAY_ERROR_ERROR_POINT_XYZ
public static final int DELAUNAY_ERROR_INVALID_CALL
public static final int DELAUNAY_ERROR_INTERNAL_ERROR
public static final int DELAUNAY_ERROR_MISC
| Constructor Detail |
|---|
public DelaunayError()
public DelaunayError(String s)
s - public DelaunayError(int errorCode)
errorCode -
public DelaunayError(int errorCode,
String s)
errorCode - s - | Method Detail |
|---|
public final String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||