Class RESTException

All Implemented Interfaces:
Serializable

public class RESTException extends RuntimeException
An exception thrown when a REST request fails.
See Also:
  • Constructor Details

    • RESTException

      @FormatMethod public RESTException(@FormatString String message, Object... args)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message.
      args - the arguments to the message.
    • RESTException

      @FormatMethod public RESTException(Throwable cause, @FormatString String message, Object... args)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      cause - the cause.
      message - the detail message.
      args - the arguments to the message.