uk.org.ury.server.exceptions
Class BadRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.org.ury.server.exceptions.HandlingException
              extended by uk.org.ury.server.exceptions.BadRequestException
All Implemented Interfaces:
java.io.Serializable

public class BadRequestException
extends HandlingException

Exception thrown when the server meets a malformed request, or part of one.

Author:
Matt Windsor
See Also:
Serialized Form

Constructor Summary
BadRequestException()
          Construct a new BadRequestException with a default reason.
BadRequestException(java.lang.Throwable cause)
          Construct a new HandlerNotFoundException with a chained exception.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadRequestException

public BadRequestException()
Construct a new BadRequestException with a default reason.


BadRequestException

public BadRequestException(java.lang.Throwable cause)
Construct a new HandlerNotFoundException with a chained exception.

Parameters:
cause - The exception that this new exception is to wrap.