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]) @HotSpotIntrinsicCandidate() @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 getCause(): Throwable
    Definition Classes
    Throwable
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  21. def getMessage(): String
    Definition Classes
    Throwable
  22. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  23. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  31. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  32. def printStackTrace(): Unit
    Definition Classes
    Throwable
  33. def productArity: Int
    Definition Classes
    UnsupportedContentTypeException → Product
  34. def productElement(n: Int): Any
    Definition Classes
    UnsupportedContentTypeException → Product
  35. def productElementName(n: Int): String
    Definition Classes
    Product
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. def productIterator: Iterator[Any]
    Definition Classes
    Product
  38. def productPrefix: String
    Definition Classes
    Product
  39. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  40. val supported: Set[ContentTypeRange]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  5. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  6. 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