org.eaglei.repository.status
Class ForbiddenException

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.ForbiddenException
All Implemented Interfaces:
java.io.Serializable

public class ForbiddenException
extends ErrorSendingException

Signal a fatal runtime error that should result in a 403 (Forbidden) status returned to the HTTP client.

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

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

ForbiddenException

public ForbiddenException(java.lang.String message)

Constructor for ForbiddenException.

Parameters:
message - a String object.

ForbiddenException

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

Constructor for ForbiddenException.

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

ForbiddenException

public ForbiddenException(java.lang.Throwable cause)

Constructor for ForbiddenException.

Parameters:
cause - a Throwable object.
Method Detail

getStatus

public int getStatus()

getStatus

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


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