public class UnexpectedEncodingException extends UnexpectedException
Wrap java’s UnsupportedEncodingException
into RuntimeException
Constructor and Description |
---|
UnexpectedEncodingException(IOException cause) |
Modifier and Type | Method and Description |
---|---|
UnsupportedEncodingException |
toJDKException()
Convert to corresponding JDK exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedEncodingException(IOException cause)
public UnsupportedEncodingException toJDKException()
Convert to corresponding JDK exception. Warning, since there are synchronized method execution please beware of the performance issue when calling this method
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.