edu.cmu.aura.service
Class ExpressionNotSupportedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.cmu.aura.service.ServiceException
                    |
                    +--edu.cmu.aura.service.ExpressionNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class ExpressionNotSupportedException
extends ServiceException

Represents an AuraService ExpressionNotSupportedError. Thrown when an service receives a request containing an expression that it does not support. For instance, a service may only support "key equality" expressions - expressions that specify a particular value for some key attribute as in: id = "1234a".

See Also:
Serialized Form

Field Summary
static int EXPRESSION_NOT_SUPPORTED
           
static int NON_EQ_EXPRESSION_NOT_SUPPORTED
           
static int NON_KEY_EQ_EXPRESSION_NOT_SUPPORTED
           
static int NON_KEY_EXPRESSIONS_NOT_SUPPORTED
           
static int OPERATOR_NOT_SUPPORTED
           
 
Constructor Summary
ExpressionNotSupportedException(int errorCode)
          Creates a new ExpressionNotSupportedException.
ExpressionNotSupportedException(int errorCode, java.lang.String msg)
          Creates a new ExpressionNotSupportedException.
 
Methods inherited from class edu.cmu.aura.service.ServiceException
getErrorCode, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXPRESSION_NOT_SUPPORTED

public static final int EXPRESSION_NOT_SUPPORTED
See Also:
Constant Field Values

NON_KEY_EQ_EXPRESSION_NOT_SUPPORTED

public static final int NON_KEY_EQ_EXPRESSION_NOT_SUPPORTED
See Also:
Constant Field Values

NON_KEY_EXPRESSIONS_NOT_SUPPORTED

public static final int NON_KEY_EXPRESSIONS_NOT_SUPPORTED
See Also:
Constant Field Values

OPERATOR_NOT_SUPPORTED

public static final int OPERATOR_NOT_SUPPORTED
See Also:
Constant Field Values

NON_EQ_EXPRESSION_NOT_SUPPORTED

public static final int NON_EQ_EXPRESSION_NOT_SUPPORTED
See Also:
Constant Field Values
Constructor Detail

ExpressionNotSupportedException

public ExpressionNotSupportedException(int errorCode)
Creates a new ExpressionNotSupportedException.

Parameters:
errorCode - error code of this exception

ExpressionNotSupportedException

public ExpressionNotSupportedException(int errorCode,
                                       java.lang.String msg)
Creates a new ExpressionNotSupportedException.

Parameters:
errorCode - error code of this exception
msg - message indicating the cause of the problem