public class NotFoundException extends ClientErrorException
not found
on the server.Constructor and Description |
---|
NotFoundException()
Construct a new "not found" exception.
|
NotFoundException(Response response)
Construct a new "not found" exception.
|
NotFoundException(Response response,
Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(Throwable cause)
Construct a new "not found" exception.
|
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotFoundException()
public NotFoundException(Response response) throws IllegalArgumentException
response
- error response.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(Throwable cause)
cause
- the underlying cause of the exception.public NotFoundException(Response response, Throwable cause) throws IllegalArgumentException
response
- error response.cause
- the underlying cause of the exception.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.Copyright © 2013. All Rights Reserved.