com.triactive.jdo.store.sql.expr
Class IllegalOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by com.triactive.jdo.store.sql.expr.IllegalOperationException
All Implemented Interfaces:
java.io.Serializable

public class IllegalOperationException
extends javax.jdo.JDOUserException

Thrown if an illegal operation is attempted on an SQL expression or a pair of SQL expressions.

Author:
Mike Martin
See Also:
Serialized Form

Constructor Summary
IllegalOperationException(SqlExpression operand1, java.lang.String operation, SqlExpression operand2)
          Constructs an illegal operation exception for dyadic operators.
IllegalOperationException(java.lang.String operation, SqlExpression operand)
          Constructs an illegal operation exception for monadic operators.
 
Method Summary
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalOperationException

public IllegalOperationException(java.lang.String operation,
                                 SqlExpression operand)
Constructs an illegal operation exception for monadic operators.

Parameters:
operation - The name of the operation.
operand - The operand.

IllegalOperationException

public IllegalOperationException(SqlExpression operand1,
                                 java.lang.String operation,
                                 SqlExpression operand2)
Constructs an illegal operation exception for dyadic operators.

Parameters:
operation - The name of the operation.
operand1 - The left-hand operand.
operand2 - The right-hand operand.


Copyright ? 2001-2007 The TJDO Project All Rights Reserved.