Class CopilotServerResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.vaadin.copilot.exception.CopilotServerResponseException
All Implemented Interfaces:
Serializable

public class CopilotServerResponseException extends IOException
Thrown when the Copilot Server returns non-200 HTTP response.
See Also:
  • Constructor Details

    • CopilotServerResponseException

      public CopilotServerResponseException(int statusCode, String body)
  • Method Details

    • getStatusCode

      public int getStatusCode()