Class 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XMLRPCServerException

        public XMLRPCServerException​(java.lang.String ex,
                                     int errnr)
    • 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 class java.lang.Throwable
        Returns:
        The detail message string of this error.
      • getErrorNr

        public int getErrorNr()
        Return the error number.
        Returns:
        The error number.