Class UnsupportedMediaTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedMediaTypeException
    extends ApiException
    The media type is unsupported.
    Author:
    janv
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_MESSAGE_ID  
    • Method Summary

      • Methods inherited from class org.springframework.extensions.surf.exception.PlatformRuntimeException

        create, create, makeRuntimeException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • DEFAULT_MESSAGE_ID

        public static java.lang.String DEFAULT_MESSAGE_ID
    • Constructor Detail

      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException()
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(java.lang.String msgId)
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(java.lang.String msgId,
                                             java.lang.Object[] msgParams)