edu.cmu.aura.service
Class GeneralServiceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--edu.cmu.aura.service.ServiceException
|
+--edu.cmu.aura.service.GeneralServiceException
- All Implemented Interfaces:
- java.io.Serializable
- public class GeneralServiceException
- extends ServiceException
Represents an AuraService GeneralError. Thrown when some
general type of error occurs. Services should throw
a more specific type of exception when possible.
- See Also:
- Serialized Form
| 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 |
GENERAL_ERROR
public static final int GENERAL_ERROR
- See Also:
- Constant Field Values
GeneralServiceException
public GeneralServiceException(int errorCode)
- Creates a new GeneralServiceException.
- Parameters:
errorCode - error code of this exception
GeneralServiceException
public GeneralServiceException(int errorCode,
java.lang.String msg)
- Creates a new GeneralServiceException.
- Parameters:
errorCode - error code of this exception.msg - message indicating the cause of the problem
GeneralServiceException
public GeneralServiceException(int errorCode,
java.lang.String msg,
java.lang.Exception subException)
- Creates a new GeneralServiceException.
- Parameters:
errorCode - error code of this exceptionsubException - original exception that caused the problem