org.eaglei.repository.status
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eaglei.repository.status.ErrorSendingException
                  extended by org.eaglei.repository.status.NotFoundException
All Implemented Interfaces:
java.io.Serializable

public class NotFoundException
extends ErrorSendingException

Signal a fatal runtime error that should result in a 404 (Not Found) status returned to the HTTP client.

Version:
$Id: $
Author:
lcs
See Also:
Serialized Form

Constructor Summary
NotFoundException(java.lang.String message)
          Constructor for NotFoundException.
NotFoundException(java.lang.String message, java.lang.Throwable cause)
          Constructor for NotFoundException.
NotFoundException(java.lang.Throwable cause)
          Constructor for NotFoundException.
 
Method Summary
 int getStatus()
          getStatus
 
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(java.lang.String message)

Constructor for NotFoundException.

Parameters:
message - a String object.

NotFoundException

public NotFoundException(java.lang.String message,
                         java.lang.Throwable cause)

Constructor for NotFoundException.

Parameters:
message - a String object.
cause - a Throwable object.

NotFoundException

public NotFoundException(java.lang.Throwable cause)

Constructor for NotFoundException.

Parameters:
cause - a Throwable object.
Method Detail

getStatus

public int getStatus()

getStatus

Specified by:
getStatus in class ErrorSendingException
Returns:
a int.


Copyright © 2009-2011 Eagle-I. All Rights Reserved.