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

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.NotAcceptableException
All Implemented Interfaces:
Serializable

public class NotAcceptableException
extends RestFailure

Thrown when HTTP Not Acceptable (406) is encountered

See Also:
Serialized Form

Constructor Summary
NotAcceptableException(String s)
           
NotAcceptableException(String s, String resp)
           
NotAcceptableException(String s, String resp, Throwable throwable)
           
NotAcceptableException(String s, Throwable throwable)
           
NotAcceptableException(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

NotAcceptableException

public NotAcceptableException(String s)

NotAcceptableException

public NotAcceptableException(String s,
                              Throwable throwable)

NotAcceptableException

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

NotAcceptableException

public NotAcceptableException(String s,
                              String resp)

NotAcceptableException

public NotAcceptableException(Throwable throwable)


Copyright © 2015. All rights reserved.