public class NotFoundException extends WebApplicationException
| Constructor and Description |
|---|
NotFoundException(String message,
URI notFoundUri)
Create a HTTP 404 (Not Found) exception.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getNotFoundUri()
Get the URI that is not found.
|
getContentType, getStatusaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotFoundException(String message, URI notFoundUri)
message - the String that is the entity of the 404 response.notFoundUri - the URI that cannot be found.public URI getNotFoundUri()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.