org.datanucleus.store.rdbms.sql.expression
Class IllegalExpressionOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.store.rdbms.sql.expression.IllegalExpressionOperationException
All Implemented Interfaces:
java.io.Serializable

public class IllegalExpressionOperationException
extends org.datanucleus.exceptions.NucleusUserException

Exception thrown when trying to perform an illegal/unsupported operation on an SQL expression.

See Also:
Serialized Form

Constructor Summary
IllegalExpressionOperationException(SQLExpression operand1, java.lang.String operation, SQLExpression operand2)
          Constructor.
IllegalExpressionOperationException(java.lang.String operation, SQLExpression operand)
          Constructor.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalExpressionOperationException

public IllegalExpressionOperationException(java.lang.String operation,
                                           SQLExpression operand)
Constructor.

Parameters:
operation - the operation. It may include a descriptive localised error message
operand - the operand

IllegalExpressionOperationException

public IllegalExpressionOperationException(SQLExpression operand1,
                                           java.lang.String operation,
                                           SQLExpression operand2)
Constructor.

Parameters:
operation - the operation. It may include a descriptive error message
operand1 - the left-hand operand
operand2 - the right-hand operand


Copyright © 2009. All Rights Reserved.