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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended bycom.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.
 
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.