|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.anidb.udp.AniDbException
public class AniDbException
Thrown if a problem with AniDB occurs.
This is the case if AniDB responds with an error code.
Constructor Summary | |
---|---|
AniDbException(int returnCode,
java.lang.String returnString,
java.lang.String messageString)
Creates an exception. |
Method Summary | |
---|---|
java.lang.String |
getMessageString()
Return ths message string. |
int |
getReturnCode()
Returns the return code. |
java.lang.String |
getReturnString()
Returns the return string. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AniDbException(int returnCode, java.lang.String returnString, java.lang.String messageString)
returnCode
- The return code.returnString
- The return string.messageString
- The message string.
java.lang.IllegalArgumentException
- If the return string is null.Method Detail |
---|
public int getReturnCode()
UdpReturnCodes
public java.lang.String getReturnString()
public java.lang.String getMessageString()
null
, if it isn't set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |