org.cruxframework.crux.core.server.rest.spi
Class BadRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.cruxframework.crux.core.server.rest.spi.RestFailure
                  extended by org.cruxframework.crux.core.server.rest.spi.BadRequestException
All Implemented Interfaces:
Serializable

public class BadRequestException
extends RestFailure

Thrown when HTTP Bad Request (400) is encountered

See Also:
Serialized Form

Constructor Summary
BadRequestException(String s)
           
BadRequestException(String s, String resp)
           
BadRequestException(String s, String resp, Throwable throwable)
           
BadRequestException(String s, Throwable throwable)
           
BadRequestException(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class org.cruxframework.crux.core.server.rest.spi.RestFailure
getResponseCode, getResponseMessage, setResponseMessage
 
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(String s)

BadRequestException

public BadRequestException(String s,
                           Throwable throwable)

BadRequestException

public BadRequestException(String s,
                           String resp,
                           Throwable throwable)

BadRequestException

public BadRequestException(String s,
                           String resp)

BadRequestException

public BadRequestException(Throwable throwable)


Copyright © 2015. All rights reserved.