Class UnexpectedRestResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.serenitybdd.screenplay.rest.questions.UnexpectedRestResponseException
All Implemented Interfaces:
Serializable

public class UnexpectedRestResponseException extends RuntimeException
Thrown when a REEST Question receives a response with a status that is not 2xx.
See Also:
  • Constructor Details

    • UnexpectedRestResponseException

      public UnexpectedRestResponseException(String message)