org.jboss.resteasy.spi
Class NotAcceptableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.resteasy.spi.Failure
                  extended by org.jboss.resteasy.spi.LoggableFailure
                      extended by org.jboss.resteasy.spi.NotAcceptableException
All Implemented Interfaces:
java.io.Serializable

public class NotAcceptableException
extends LoggableFailure

Thrown by RESTEasy when HTTP Not Acceptable (406) is encountered

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.resteasy.spi.Failure
errorCode, loggable, response
 
Constructor Summary
NotAcceptableException(java.lang.String s)
           
NotAcceptableException(java.lang.String s, Response response)
           
NotAcceptableException(java.lang.String s, java.lang.Throwable throwable)
           
NotAcceptableException(java.lang.String s, java.lang.Throwable throwable, Response response)
           
NotAcceptableException(java.lang.Throwable throwable)
           
NotAcceptableException(java.lang.Throwable throwable, Response response)
           
 
Method Summary
 
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable
 
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(java.lang.String s)

NotAcceptableException

public NotAcceptableException(java.lang.String s,
                              Response response)

NotAcceptableException

public NotAcceptableException(java.lang.String s,
                              java.lang.Throwable throwable,
                              Response response)

NotAcceptableException

public NotAcceptableException(java.lang.String s,
                              java.lang.Throwable throwable)

NotAcceptableException

public NotAcceptableException(java.lang.Throwable throwable)

NotAcceptableException

public NotAcceptableException(java.lang.Throwable throwable,
                              Response response)


Copyright © 2009. All Rights Reserved.