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

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

public class UnsupportedMediaTypeException
extends RestFailure

Thrown when HTTP Not Acceptable (406) is encountered

See Also:
Serialized Form

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

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s,
                                     Throwable throwable)

UnsupportedMediaTypeException

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

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s,
                                     String resp)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(Throwable throwable)


Copyright © 2014. All rights reserved.