edu.cmu.aura.service
Class InternalServiceException

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

public class InternalServiceException
extends ServiceException

Represents an AuraService InternalError. Thrown when an internal exception occurs in a service.

See Also:
Serialized Form

Field Summary
static int INTERNAL_ERROR
           
 
Constructor Summary
InternalServiceException(int errorCode)
          Creates a new InternalServiceException.
InternalServiceException(int errorCode, java.lang.String msg)
          Creates a new InternalServiceException.
InternalServiceException(int errorCode, java.lang.String msg, java.lang.Exception subException)
          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

INTERNAL_ERROR

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

InternalServiceException

public InternalServiceException(int errorCode)
Creates a new InternalServiceException.

Parameters:
errorCode - error code of this exception

InternalServiceException

public InternalServiceException(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

InternalServiceException

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

Parameters:
errorCode - error code of this exception
subException - original exception that caused the problem