gishur.core.geom
Class IntersectionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--gishur.core.geom.GeomException
|
+--gishur.core.geom.IntersectionException
- All Implemented Interfaces:
- java.io.Serializable
- public class IntersectionException
- extends GeomException
Exception thrown by intersection methods.
- Version:
- 1.0
- Author:
- Thomas Wolf
- See Also:
- Serialized Form
Field Summary |
static int |
GENERAL
General intersection exception |
static int |
NO_MODE_SUPPORT
Intersection mode not supported |
static int |
NO_SUPPORT
Intersection not supported |
java.lang.Object |
o1
intersecting objects |
java.lang.Object |
o2
intersecting objects |
Constructor Summary |
IntersectionException(int code,
java.lang.Object o1,
java.lang.Object o2)
Constructs an Intersection Exception |
IntersectionException(java.lang.Object o1,
java.lang.Object o2)
Constructs a general Intersection Exception |
Method Summary |
protected static java.lang.String |
getErrorString(int code,
java.lang.Object o1,
java.lang.Object o2)
Returns the printed error string for the given Error code and the
two objects. |
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 |
o1
public java.lang.Object o1
- intersecting objects
o2
public java.lang.Object o2
- intersecting objects
GENERAL
public static final int GENERAL
- General intersection exception
NO_MODE_SUPPORT
public static final int NO_MODE_SUPPORT
- Intersection mode not supported
NO_SUPPORT
public static final int NO_SUPPORT
- Intersection not supported
IntersectionException
public IntersectionException(int code,
java.lang.Object o1,
java.lang.Object o2)
- Constructs an Intersection Exception
- Parameters:
code
- errorcodeo1,o2
- participating objects
IntersectionException
public IntersectionException(java.lang.Object o1,
java.lang.Object o2)
- Constructs a general Intersection Exception
- Parameters:
o1,o2
- participating objects
getErrorString
protected static java.lang.String getErrorString(int code,
java.lang.Object o1,
java.lang.Object o2)
- Returns the printed error string for the given Error code and the
two objects.
- Parameters:
code
- Errorcodeo1
- first objecto2
- second object- Returns:
- error string