Class ServerErrorResponseException

All Implemented Interfaces:
Serializable

public class ServerErrorResponseException extends SdkException
Represents an exception that occurs when a server responds with an error.
See Also:
  • Constructor Details

    • ServerErrorResponseException

      public ServerErrorResponseException(int errorCode, String errorMessage)
      Constructs a new ServerErrorResponseException with the specified error code and error message.
      Parameters:
      errorCode - the error code returned by the server
      errorMessage - the error message returned by the server
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets the error code returned by the server.
      Returns:
      the error code