Packages

c

org.http4s

UnsupportedMediaTypeFailure

sealed abstract class UnsupportedMediaTypeFailure extends 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 message: String

    Provides a message appropriate for logging.

    Provides a message appropriate for logging.

    Definition Classes
    MessageFailure
  2. abstract def sanitizedResponsePrefix: String

Concrete Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. val expectedMsg: String
  3. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  4. def getCause(): Throwable
    Definition Classes
    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. val responseMsg: String
  14. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  15. def toHttpResponse(httpVersion: HttpVersion): Task[Response]

    Provides a default rendering of this failure as a Response.

    Provides a default rendering of this failure as a Response.

    Definition Classes
    UnsupportedMediaTypeFailureMessageFailure
  16. 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