final class UnsupportedContentTypeException extends RuntimeException with Product with Serializable

Signals that unmarshalling failed because the entity content-type did not match one of the supported ranges. This error cannot be thrown by custom code, you need to use the forContentTypes modifier on a base akka.http.scaladsl.unmarshalling.Unmarshaller instead.

Source
Unmarshaller.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnsupportedContentTypeException
  2. Product
  3. Equals
  4. RuntimeException
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnsupportedContentTypeException(supported: Set[ContentTypeRange], actualContentType: Option[ContentType])
  2. new UnsupportedContentTypeException(supported: Set[ContentTypeRange])
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.9) for binary compatibility

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toany2stringadd[UnsupportedContentTypeException] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UnsupportedContentTypeException, B)
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toArrowAssoc[UnsupportedContentTypeException] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val actualContentType: Option[ContentType]
  7. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def canEqual(that: Any): Boolean
    Definition Classes
    UnsupportedContentTypeException → Equals
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def ensuring(cond: (UnsupportedContentTypeException) => Boolean, msg: => Any): UnsupportedContentTypeException
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toEnsuring[UnsupportedContentTypeException] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (UnsupportedContentTypeException) => Boolean): UnsupportedContentTypeException
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toEnsuring[UnsupportedContentTypeException] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): UnsupportedContentTypeException
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toEnsuring[UnsupportedContentTypeException] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): UnsupportedContentTypeException
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toEnsuring[UnsupportedContentTypeException] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean
    Definition Classes
    UnsupportedContentTypeException → Equals → AnyRef → Any
  17. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toStringFormat[UnsupportedContentTypeException] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def getCause(): Throwable
    Definition Classes
    Throwable
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  23. def getMessage(): String
    Definition Classes
    Throwable
  24. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  25. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  33. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  34. def printStackTrace(): Unit
    Definition Classes
    Throwable
  35. def productArity: Int
    Definition Classes
    UnsupportedContentTypeException → Product
  36. def productElement(n: Int): Any
    Definition Classes
    UnsupportedContentTypeException → Product
  37. def productElementName(n: Int): String
    Definition Classes
    Product
  38. def productElementNames: Iterator[String]
    Definition Classes
    Product
  39. def productIterator: Iterator[Any]
    Definition Classes
    Product
  40. def productPrefix: String
    Definition Classes
    Product
  41. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  42. val supported: Set[ContentTypeRange]
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def copy(supported: Set[ContentTypeRange] = this.supported, contentType: Option[ContentType] = this.actualContentType): UnsupportedContentTypeException
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.9) for binary compatibility

  2. def copy(supported: Set[ContentTypeRange]): UnsupportedContentTypeException
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.9) for binary compatibility

  3. def copy$default$1(supported: Set[ContentTypeRange]): UnsupportedContentTypeException
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.9) for binary compatibility

  4. def [B](y: B): (UnsupportedContentTypeException, B)
    Implicit
    This member is added by an implicit conversion from UnsupportedContentTypeException toArrowAssoc[UnsupportedContentTypeException] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Product

Inherited from Equals

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromUnsupportedContentTypeException to any2stringadd[UnsupportedContentTypeException]

Inherited by implicit conversion StringFormat fromUnsupportedContentTypeException to StringFormat[UnsupportedContentTypeException]

Inherited by implicit conversion Ensuring fromUnsupportedContentTypeException to Ensuring[UnsupportedContentTypeException]

Inherited by implicit conversion ArrowAssoc fromUnsupportedContentTypeException to ArrowAssoc[UnsupportedContentTypeException]

Ungrouped