Class UnexpectedRestResponseException

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

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

    Constructors
    Constructor Description
    UnexpectedRestResponseException​(java.lang.String message)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UnexpectedRestResponseException

      public UnexpectedRestResponseException​(java.lang.String message)