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(String message)
Construct a new "not found" exception.
|
NotFoundException(String message,
Response response)
Construct a new "not found" exception.
|
NotFoundException(String message,
Response response,
Throwable cause)
Construct a new "not found" exception.
|
NotFoundException(String message,
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(String message)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).public NotFoundException(Response response)
response
- error response.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(String message, Response response)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).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(String message, 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, Throwable cause)
response
- error response.cause
- the underlying cause of the exception.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.public NotFoundException(String message, Response response, 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.IllegalArgumentException
- in case the status code set in the response
is not HTTP 404
.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.