orbital.util
Class IncomparableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
orbital.util.IncomparableException
- All Implemented Interfaces:
- java.io.Serializable
public class IncomparableException
- extends java.lang.IllegalArgumentException
Thrown to indicate that two particular elements of a partial order are incomparable.
- Author:
- André Platzer
- See Also:
Comparable
,
Comparator
,
Serialized Form
Method Summary |
java.lang.Object[] |
getIncomparableObjects()
Get the objects which are incomparable, but have been attempted
to compare. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IncomparableException
public IncomparableException()
IncomparableException
public IncomparableException(java.lang.Object[] incomparableObjects)
IncomparableException
public IncomparableException(java.lang.String mesg)
IncomparableException
public IncomparableException(java.lang.String mesg,
java.lang.Object[] incomparableObjects)
IncomparableException
public IncomparableException(java.lang.String mesg,
java.lang.Object incomparableObject1,
java.lang.Object incomparableObject2)
getIncomparableObjects
public java.lang.Object[] getIncomparableObjects()
- Get the objects which are incomparable, but have been attempted
to compare.
Copyright © 1996-2009 André Platzer
All Rights Reserved.