Package com.sodius.oslc.client
Class ClientWebException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sodius.oslc.client.ClientRuntimeException
-
- com.sodius.oslc.client.ClientWebException
-
- All Implemented Interfaces:
Serializable
public class ClientWebException extends ClientRuntimeException
Indicates that an HTTP error code was returned from the server- Since:
- 3.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientWebException(ClientRequest request, ClientResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientRequest
getRequest()
Get theClientRequest
of the invocationClientResponse
getResponse()
Get theClientResponse
of the invocation-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ClientWebException
public ClientWebException(ClientRequest request, ClientResponse response)
-
-
Method Detail
-
getRequest
public ClientRequest getRequest()
Get theClientRequest
of the invocation- Returns:
ClientRequest
of the invocation
-
getResponse
public ClientResponse getResponse()
Get theClientResponse
of the invocation- Returns:
ClientResponse
of the invocation
-
-