com.bradmcevoy.http.exceptions
Class BadRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bradmcevoy.http.exceptions.MiltonException
              extended by com.bradmcevoy.http.exceptions.BadRequestException
All Implemented Interfaces:
java.io.Serializable

public class BadRequestException
extends MiltonException

Author:
brad
See Also:
Serialized Form

Constructor Summary
BadRequestException(Resource r)
           
BadRequestException(Resource r, java.lang.String reason)
           
 
Method Summary
 java.lang.String getReason()
          Optional property, which describe the cause of the exception
 
Methods inherited from class com.bradmcevoy.http.exceptions.MiltonException
getResource
 
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

BadRequestException

public BadRequestException(Resource r)

BadRequestException

public BadRequestException(Resource r,
                           java.lang.String reason)
Method Detail

getReason

public java.lang.String getReason()
Optional property, which describe the cause of the exception

Returns:


Copyright © 2011. All Rights Reserved.