|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.ws.rs.WebApplicationException com.sun.jersey.api.NotFoundException
public class NotFoundException
A HTTP 404 (Not Found) exception.
Constructor Summary | |
---|---|
NotFoundException()
Create a HTTP 404 (Not Found) exception. |
|
NotFoundException(java.lang.String message)
Create a HTTP 404 (Not Found) exception. |
|
NotFoundException(java.lang.String message,
java.net.URI notFoundUri)
Create a HTTP 404 (Not Found) exception. |
|
NotFoundException(java.net.URI notFoundUri)
Create a HTTP 404 (Not Found) exception. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
|
java.net.URI |
getNotFoundUri()
Get the URI that is not found. |
Methods inherited from class javax.ws.rs.WebApplicationException |
---|
getResponse |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotFoundException()
public NotFoundException(java.net.URI notFoundUri)
notFoundUri
- the URI that cannot be found.public NotFoundException(java.lang.String message)
message
- the String that is the entity of the 404 response.public NotFoundException(java.lang.String message, java.net.URI notFoundUri)
message
- the String that is the entity of the 404 response.notFoundUri
- the URI that cannot be found.Method Detail |
---|
public java.net.URI getNotFoundUri()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |