|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ittp.ittpException
This class return a error's message that correspods to the response_code. It is instantiated when an error is generated.
Field Summary | |
(package private) int |
response_code
Response code to be return |
Fields inherited from class java.lang.RuntimeException |
|
Constructor Summary | |
ittpException(java.lang.String msg,
int response_code)
Constructor of the class. |
Method Summary | |
int |
getResponseCode()
Accessors for the response_code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int response_code
Constructor Detail |
public ittpException(java.lang.String msg, int response_code)
msg
- String that containing the message of the error.response_code
- int containing the code corresponding to the error.Method Detail |
public int getResponseCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |