Package com.xero.api

Class XeroServerErrorException

    • Constructor Detail

      • XeroServerErrorException

        public XeroServerErrorException​(int statusCode,
                                        String message,
                                        Exception e)
        Init XeroServerErrorException
        Parameters:
        statusCode - int the server status code returned.
        message - String the message pertaining to the rate limit
        e - Exception object with details about the original exception
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        get Status Code
        Returns:
        int with server status code.
      • getMessage

        public String getMessage()
        get message
        Overrides:
        getMessage in class Throwable
        Returns:
        Sting with the message pertaining to the rate limit