Package de.timroes.axmlrpc
Class XMLRPCServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.timroes.axmlrpc.XMLRPCException
-
- de.timroes.axmlrpc.XMLRPCServerException
-
- All Implemented Interfaces:
java.io.Serializable
public class XMLRPCServerException extends XMLRPCException
This exception will be thrown if the server returns an error. It contains the message and the error number returned from the server.- Author:
- Tim Roes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLRPCServerException(java.lang.String ex, int errnr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorNr()
Return the error number.java.lang.String
getMessage()
Returns the detail message string of this throwable.
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the detail message string of this throwable. It will have the server error number at the end.- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- The detail message string of this error.
-
getErrorNr
public int getErrorNr()
Return the error number.- Returns:
- The error number.
-
-