org.eaglei.repository.status
Class NotAcceptableException

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

public class NotAcceptableException
extends ErrorSendingException

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

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

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

NotAcceptableException

public NotAcceptableException(java.lang.String message)

Constructor for NotAcceptableException.

Parameters:
message - a String object.

NotAcceptableException

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

Constructor for NotAcceptableException.

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

NotAcceptableException

public NotAcceptableException(java.lang.Throwable cause)

Constructor for NotAcceptableException.

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.