net.officefloor.plugin.socket.server.http
Class InvalidHttpRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.officefloor.plugin.socket.server.http.HttpException
              extended by net.officefloor.plugin.socket.server.http.InvalidHttpRequestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpRequestParseException

public class InvalidHttpRequestException
extends HttpException

Thrown by processing of the HttpRequest to indicate that the HttpRequest is invalid.

Author:
Daniel Sagenschneider
See Also:
Serialized Form

Constructor Summary
InvalidHttpRequestException(int httpStatus)
          Initiate.
InvalidHttpRequestException(int httpStatus, String message)
          Initiate.
InvalidHttpRequestException(int httpStatus, String message, Throwable cause)
          Initiate.
InvalidHttpRequestException(int httpStatus, Throwable cause)
          Initiate.
 
Method Summary
 
Methods inherited from class net.officefloor.plugin.socket.server.http.HttpException
getHttpStatus
 
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

InvalidHttpRequestException

public InvalidHttpRequestException(int httpStatus,
                                   String message,
                                   Throwable cause)
Initiate.

Parameters:
httpStatus - HTTP status of this exception.
message - Message.
cause - Cause.

InvalidHttpRequestException

public InvalidHttpRequestException(int httpStatus,
                                   String message)
Initiate.

Parameters:
httpStatus - HTTP status of this exception.
message - Message.

InvalidHttpRequestException

public InvalidHttpRequestException(int httpStatus,
                                   Throwable cause)
Initiate.

Parameters:
httpStatus - HTTP status of this exception.
cause - Cause.

InvalidHttpRequestException

public InvalidHttpRequestException(int httpStatus)
Initiate.

Parameters:
httpStatus - HTTP status of this exception.


Copyright © 2005-2011. All Rights Reserved.