com.sun.jersey.api
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ws.rs.WebApplicationException
                  extended by com.sun.jersey.api.NotFoundException
All Implemented Interfaces:
java.io.Serializable

public class NotFoundException
extends javax.ws.rs.WebApplicationException

A HTTP 404 (Not Found) exception.

Author:
Paul.Sandoz@Sun.Com
See Also:
Serialized Form

Constructor Summary
NotFoundException()
          Create a HTTP 404 (Not Found) exception.
NotFoundException(java.lang.String message)
          Create a HTTP 404 (Not Found) exception.
 
Method Summary
 
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

NotFoundException

public NotFoundException()
Create a HTTP 404 (Not Found) exception.


NotFoundException

public NotFoundException(java.lang.String message)
Create a HTTP 404 (Not Found) exception.

Parameters:
message - the String that is the entity of the 404 response.


Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.