public class NotFoundException extends ClientErrorException
HttpStatus.NOT_FOUND status code occurs.| Constructor and Description |
|---|
NotFoundException(java.net.URI uri)
Create a new
NotFoundException. |
NotFoundException(java.net.URI uri,
java.lang.String message)
Create a new
NotFoundException with a message. |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
uri()
Returns the URI that was not found.
|
statuspublic NotFoundException(java.net.URI uri)
NotFoundException.public NotFoundException(java.net.URI uri,
java.lang.String message)
NotFoundException with a message.message - An error message.