Packages

c

org.http4s

UnsupportedMediaTypeFailure

sealed abstract class UnsupportedMediaTypeFailure extends RuntimeException with DecodeFailure with NoStackTrace

Indicates that a Message came with no supported MediaType.

Source
MessageFailure.scala
Linear Supertypes
NoStackTrace, DecodeFailure, MessageFailure, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnsupportedMediaTypeFailure
  2. NoStackTrace
  3. DecodeFailure
  4. MessageFailure
  5. RuntimeException
  6. Exception
  7. Throwable
  8. Serializable
  9. AnyRef
  10. Any
Implicitly
  1. by RichException
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def expected: Set[MediaRange]
  2. abstract def message: String

    Provides a message appropriate for logging.

    Provides a message appropriate for logging.

    Definition Classes
    MessageFailure

Concrete Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. def cause: Option[Throwable]
  3. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  4. final def getCause(): Throwable
    Definition Classes
    MessageFailure → Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. final def getMessage(): String
    Definition Classes
    MessageFailure → Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  9. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  10. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  11. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  12. def printStackTrace(): Unit
    Definition Classes
    Throwable
  13. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  14. def toHttpResponse[F[_]](httpVersion: HttpVersion)(implicit arg0: Applicative[F]): F[Response[F]]

    Provides a default rendering of this failure as a Response.

    Provides a default rendering of this failure as a Response.

    Definition Classes
    UnsupportedMediaTypeFailureMessageFailure
  15. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any

Deprecated Value Members

  1. def getStackTraceString: String
    Implicit
    This member is added by an implicit conversion from UnsupportedMediaTypeFailure to RichException performed by method RichException in scala.Predef.
    Definition Classes
    RichException
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use Throwable#getStackTrace