public class NotFoundException
extends javax.ws.rs.WebApplicationException
| Constructor and Description |
|---|
NotFoundException()
Create a HTTP 404 (Not Found) exception.
|
NotFoundException(String message)
Create a HTTP 404 (Not Found) exception.
|
NotFoundException(String message,
URI notFoundUri)
Create a HTTP 404 (Not Found) exception.
|
NotFoundException(URI notFoundUri)
Create a HTTP 404 (Not Found) exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
URI |
getNotFoundUri()
Get the URI that is not found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotFoundException()
public NotFoundException(URI notFoundUri)
notFoundUri - the URI that cannot be found.public NotFoundException(String message)
message - the String that is the entity of the 404 response.public URI getNotFoundUri()
public String getMessage()
getMessage in class ThrowableCopyright © 2016 Oracle Corporation. All rights reserved.