Class Unmarshaller.UnsupportedContentTypeException

  • All Implemented Interfaces:, scala.Equals, scala.Product
    Enclosing interface:

    public static final class Unmarshaller.UnsupportedContentTypeException
    extends java.lang.RuntimeException
    implements scala.Product,
    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 Unmarshaller instead.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnsupportedContentTypeException

        public UnsupportedContentTypeException​(scala.collection.immutable.Set<ContentTypeRange> supported,
                                               scala.Option<ContentType> actualContentType)
      • UnsupportedContentTypeException

        public UnsupportedContentTypeException​(scala.collection.immutable.Set<ContentTypeRange> supported)
        for binary compatibility. Since 10.1.9.
    • Method Detail

      • supported

        public scala.collection.immutable.Set<ContentTypeRange> supported()
      • actualContentType

        public scala.Option<ContentType> actualContentType()
      • canEqual

        public boolean canEqual​(java.lang.Object that)
        Specified by:
        canEqual in interface scala.Equals
      • equals

        public boolean equals​(java.lang.Object that)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int n)
        Specified by:
        productElement in interface scala.Product