net.officefloor.plugin.socket.server.http.parse
Class HttpRequestParseException

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
                  extended by net.officefloor.plugin.socket.server.http.parse.HttpRequestParseException
All Implemented Interfaces:
Serializable

public class HttpRequestParseException
extends InvalidHttpRequestException

Indicates that failed to parse the HttpRequest.

Author:
Daniel Sagenschneider
See Also:
Serialized Form

Constructor Summary
HttpRequestParseException(int httpStatus, String message)
          Initiate.
HttpRequestParseException(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

HttpRequestParseException

public HttpRequestParseException(int httpStatus,
                                 String message)
Initiate.

Parameters:
httpStatus - HTTP status indicating failure.
message - Reason for parsing failure.

HttpRequestParseException

public HttpRequestParseException(int httpStatus,
                                 Throwable cause)
Initiate.

Parameters:
httpStatus - HTTP status indicating failure.
cause - Cause of parsing failure.


Copyright © 2005-2011. All Rights Reserved.