Class UnexpectedStatusCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.api.rest.pub.client.user_portal.ApiException
de.xima.fc.api.rest.pub.client.user_portal.UnexpectedStatusCodeException
- All Implemented Interfaces:
Serializable
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public final class UnexpectedStatusCodeException
extends ApiException
When an answer was received from the REST API, but the status code did not match
any known status code. This exception still lets you access the response data if
you want to do something with that data manually.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedStatusCodeException(javax.ws.rs.core.Response response) Creates a new exception when a response contained an unexpected status code. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedStatusCodeException
public UnexpectedStatusCodeException(javax.ws.rs.core.Response response) Creates a new exception when a response contained an unexpected status code.- Parameters:
response- The response that was received.
-
-
Method Details
-
response
public javax.ws.rs.core.Response response()- Returns:
- The received HTTP response with the unexpected status code.
-