Orbital library

orbital.util
Class IncomparableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by 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

Constructor Summary
IncomparableException()
           
IncomparableException(java.lang.Object[] incomparableObjects)
           
IncomparableException(java.lang.String mesg)
           
IncomparableException(java.lang.String mesg, java.lang.Object[] incomparableObjects)
           
IncomparableException(java.lang.String mesg, java.lang.Object incomparableObject1, java.lang.Object incomparableObject2)
           
 
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
 

Constructor Detail

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)
Method Detail

getIncomparableObjects

public java.lang.Object[] getIncomparableObjects()
Get the objects which are incomparable, but have been attempted to compare.


Orbital library
1.3.0: 11 Apr 2009

Copyright © 1996-2009 André Platzer
All Rights Reserved.