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,
java.lang.Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(java.lang.String message)
Construct a new "not found" exception.
|
NotFoundException(java.lang.String message,
Response response)
Construct a new "not found" exception.
|
NotFoundException(java.lang.String message,
Response response,
java.lang.Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(java.lang.String message,
java.lang.Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(java.lang.Throwable cause)
Construct a new "not found" exception.
|
getResponse
public NotFoundException()
public NotFoundException(java.lang.String message)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).public NotFoundException(Response response)
response
- error response.java.lang.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(java.lang.String message, Response response)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).response
- error response.java.lang.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(java.lang.Throwable cause)
cause
- the underlying cause of the exception.public NotFoundException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).cause
- the underlying cause of the exception.public NotFoundException(Response response, java.lang.Throwable cause)
response
- error response.cause
- the underlying cause of the exception.java.lang.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(java.lang.String message, Response response, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).response
- error response.cause
- the underlying cause of the exception.java.lang.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.