Class UnsupportedCharsetException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedCharsetException
    extends java.lang.Exception
    A checked exception wrapper for UnsupportedCharsetException. This exception is checked to prevent situations where an unsupported character set in e.g. a Content-Type header causes the proxy to fail completely, rather than fallback to some suitable default behavior, such as not parsing the text contents of a message.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsupportedCharsetException​(java.nio.charset.UnsupportedCharsetException e)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.charset.UnsupportedCharsetException getUnsupportedCharsetExceptionCause()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnsupportedCharsetException

        public UnsupportedCharsetException​(java.nio.charset.UnsupportedCharsetException e)
    • Method Detail

      • getUnsupportedCharsetExceptionCause

        public java.nio.charset.UnsupportedCharsetException getUnsupportedCharsetExceptionCause()
        Returns:
        the underlying UnsupportedCharsetException that this exception wraps.