com.bea.p13n.expression
Class ComparisonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.p13n.exceptions.ApplicationException
              extended by com.bea.p13n.expression.ExpressionException
                  extended by com.bea.p13n.expression.ComparisonException
All Implemented Interfaces
Serializable

public class ComparisonException
extends ExpressionException

An Exception class for Comparison related exceptions. This exception can be thrown if an object that does not implement the Comparable interface is the LHS of a comparison or an unknown client class invokes a comparison operation.

See Also
Serialized Form

Constructor Summary
ComparisonException(Object client, Object lhs, Object rhs)
          Creates a ComparisonException
 
Method Summary
 
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

ComparisonException

public ComparisonException(Object client,
                           Object lhs,
                           Object rhs)
Creates a ComparisonException

Parameters
client - the client of the Comparator
lhs - the LHS of the comparison
rhs - the RHS of the comparison


Copyright © 2011, Oracle. All rights reserved.