edu.cmu.aura.service
Class ReqNotSupportedException

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

public class ReqNotSupportedException
extends ServiceException

Represents an Aura Service RequirementNotSupportedError. Thrown by a service when a request specifies an attribute requirement that is not supported by this service.

See Also:
Serialized Form

Field Summary
static int ACCURACY_CONSTRAINTS_NOT_SUPPORTED
           
static int CONF_CONSTRAINTS_NOT_SUPPORTED
           
static int INTERVAL_CONSTRAINTS_NOT_SUPPORTED
           
static int REQ_NOT_SUPPORTED
           
static int TIME_CONSTRAINTS_NOT_SUPPORTED
           
 
Constructor Summary
ReqNotSupportedException(int errorCode)
          Creates a new AttribReqNotSupportedException.
ReqNotSupportedException(int errorCode, java.lang.String msg)
          Creates a new InternalServiceException.
 
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

REQ_NOT_SUPPORTED

public static final int REQ_NOT_SUPPORTED
See Also:
Constant Field Values

TIME_CONSTRAINTS_NOT_SUPPORTED

public static final int TIME_CONSTRAINTS_NOT_SUPPORTED
See Also:
Constant Field Values

CONF_CONSTRAINTS_NOT_SUPPORTED

public static final int CONF_CONSTRAINTS_NOT_SUPPORTED
See Also:
Constant Field Values

ACCURACY_CONSTRAINTS_NOT_SUPPORTED

public static final int ACCURACY_CONSTRAINTS_NOT_SUPPORTED
See Also:
Constant Field Values

INTERVAL_CONSTRAINTS_NOT_SUPPORTED

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

ReqNotSupportedException

public ReqNotSupportedException(int errorCode)
Creates a new AttribReqNotSupportedException.

Parameters:
errorCode - error code of this exception

ReqNotSupportedException

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

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