Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dmfs.httpessentials.exceptions.ProtocolException
org.dmfs.httpessentials.exceptions.UnexpectedStatusException
org.dmfs.httpessentials.exceptions.ClientErrorException
org.dmfs.httpessentials.exceptions.NotFoundException
- All Implemented Interfaces:
Serializable
This Exception is thrown when an unhandled
HttpStatus.NOT_FOUND status code occurs.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotFoundException(URI uri) Create a newNotFoundException.NotFoundException(URI uri, String message) Create a newNotFoundExceptionwith a message. -
Method Summary
Methods inherited from class org.dmfs.httpessentials.exceptions.UnexpectedStatusException
statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotFoundException
Create a newNotFoundException. -
NotFoundException
Create a newNotFoundExceptionwith a message.- Parameters:
message- An error message.
-
-
Method Details
-
uri
Returns the URI that was not found.- Returns:
- A URI.
-