Class WarningFailureException

All Implemented Interfaces:
Serializable

public final class WarningFailureException extends RuntimeException
This exception is used to indicate that one or more Response.getWarnings() exist and is typically used when the RestClient is set to fail by setting RestClientBuilder.setStrictDeprecationMode(boolean) to `true`.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getResponse

      public Response getResponse()
      Returns the Response that caused this exception to be thrown.