Class ClientException

    • Constructor Detail

      • ClientException

        public ClientException​(Throwable t)
        Wrap a source exception.
      • ClientException

        public ClientException​(String errorMessage,
                               int statusCode)
        Invalid response from server.
    • Method Detail

      • status

        public int status()
        Status code from server (if applicable)
      • message

        public String message()
        Error message from server (if applicable)