Nitido Inc.

com.nitido.nimbox.http
Class InvalidRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.nitido.nimbox.http.InvalidRequestException
All Implemented Interfaces:
java.io.Serializable

public class InvalidRequestException
extends java.lang.Exception

This exception is thrown when the HttpNimletDriver is unable to parse a malformed Http request

See Also:
Serialized Form

Field Summary
protected  boolean _hasRootCause
           
 
Constructor Summary
InvalidRequestException(java.lang.String msg)
          Construct the exception with the given message.
InvalidRequestException(java.lang.String msg, java.lang.Throwable rootCause)
          Construct the exception with the given message and with the given root cause that resulted from the exception.
InvalidRequestException(java.lang.Throwable rootCause)
          Construct the exception with the given root cause for the exception
 
Method Summary
 boolean hasRootCause()
          This method returns true if the exception has been associated with a root cause.
 
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
 

Field Detail

_hasRootCause

protected boolean _hasRootCause
Constructor Detail

InvalidRequestException

public InvalidRequestException(java.lang.String msg)
Construct the exception with the given message.

Parameters:
msg - The reason for the error

InvalidRequestException

public InvalidRequestException(java.lang.String msg,
                               java.lang.Throwable rootCause)
Construct the exception with the given message and with the given root cause that resulted from the exception.

Parameters:
msg - The reason for the error
rootCause - The cause for the exception

InvalidRequestException

public InvalidRequestException(java.lang.Throwable rootCause)
Construct the exception with the given root cause for the exception

Parameters:
rootCause - The cause for the exception
Method Detail

hasRootCause

public boolean hasRootCause()
This method returns true if the exception has been associated with a root cause.

Returns:
True if the exception is associated with a root cause.

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.