org.eaglei.repository.status
Class InternalServerErrorException

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

public class InternalServerErrorException
extends ErrorSendingException

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

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

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

InternalServerErrorException

public InternalServerErrorException(java.lang.String message)

Constructor for InternalServerErrorException.

Parameters:
message - a String object.

InternalServerErrorException

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

Constructor for InternalServerErrorException.

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

InternalServerErrorException

public InternalServerErrorException(java.lang.Throwable cause)

Constructor for InternalServerErrorException.

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.