Class UpdateFailException

All Implemented Interfaces:
Serializable

public class UpdateFailException extends RuntimeException
An exception thrown when an unexpected HTTP status code was returned when performing an update check and no other exception is applicable.
See Also:
  • Constructor Details

    • UpdateFailException

      public UpdateFailException(int statusCode, String message)
      Construct a new UpdateFailException.
      Parameters:
      statusCode - the status code that was returned
      message - the message to send
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getStatusCode

      public int getStatusCode()
      Get the status code that was returned.
      Returns:
      the status code