edu.cmu.aura.service
Class RequestException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--edu.cmu.aura.service.ServiceException
|
+--edu.cmu.aura.service.RequestException
- All Implemented Interfaces:
- java.io.Serializable
- public class RequestException
- extends ServiceException
Represents an AuraService RequestError. Thrown when a
service receives an erroneous request from a client.
- See Also:
- Serialized Form
|
Constructor Summary |
RequestException(int errorCode)
Creates a new RequestException. |
RequestException(int errorCode,
java.lang.String msg)
Creates a new RequestException. |
| 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 |
REQUEST_ERROR
public static final int REQUEST_ERROR
- See Also:
- Constant Field Values
NO_SUCH_SERVICE
public static final int NO_SUCH_SERVICE
- See Also:
- Constant Field Values
NO_SUCH_ATTRIB
public static final int NO_SUCH_ATTRIB
- See Also:
- Constant Field Values
ILLEGAL_VALUE
public static final int ILLEGAL_VALUE
- See Also:
- Constant Field Values
RequestException
public RequestException(int errorCode)
- Creates a new RequestException.
- Parameters:
errorCode - error code of this exception
RequestException
public RequestException(int errorCode,
java.lang.String msg)
- Creates a new RequestException.
- Parameters:
errorCode - error code of this exceptionmsg - message indicating the cause of the problem