|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--edu.cmu.aura.service.ServiceException
Base class for service exceptions.
| Constructor Summary | |
ServiceException(int errorCode)
Creates a new ServiceException. |
|
ServiceException(int errorCode,
java.lang.Exception subException)
Creates a new ServiceException. |
|
ServiceException(int errorCode,
java.lang.String msg)
Creates a new ServiceException. |
|
ServiceException(int errorCode,
java.lang.String msg,
java.lang.Exception subException)
Creates a new ServiceException. |
|
| Method Summary | |
int |
getErrorCode()
Gets the error code associated with this ServiceException. |
void |
printStackTrace()
Prints a stack trace showing where the exception occurred. |
| 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 |
| Constructor Detail |
public ServiceException(int errorCode)
public ServiceException(int errorCode,
java.lang.String msg)
msg - message indicating the cause of the problem
public ServiceException(int errorCode,
java.lang.Exception subException)
subException - original exception that caused the problem
public ServiceException(int errorCode,
java.lang.String msg,
java.lang.Exception subException)
msg - message indicating the cause of the problemsubException - original exception that caused the problem| Method Detail |
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic int getErrorCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||