Package info.freelibrary.util
Class UnsupportedEncodingI18nException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- info.freelibrary.util.I18nRuntimeException
-
- info.freelibrary.util.UnsupportedEncodingI18nException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedEncodingI18nException extends I18nRuntimeException
An I18n wrapper aroundUnsupportedEncodingException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedEncodingI18nException(String aEncoding)
Creates a newUnsupportedEncodingI18nException
.UnsupportedEncodingI18nException(String aBundleName, String aMessageKey, Object... aVarargs)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.UnsupportedEncodingI18nException(Throwable aCause, String aEncoding)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.UnsupportedEncodingI18nException(Throwable aCause, String aBundleName, String aMessageKey, Object... aVarargs)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.UnsupportedEncodingI18nException(Throwable aCause, Charset aEncoding)
Creates a newUnsupportedEncodingI18nException
.UnsupportedEncodingI18nException(Throwable aCause, Charset aEncoding, Locale aLocale)
Creates a newUnsupportedEncodingI18nException
.UnsupportedEncodingI18nException(Charset aEncoding)
Creates a newUnsupportedEncodingI18nException
.UnsupportedEncodingI18nException(Charset aEncoding, Locale aLocale)
Creates a newUnsupportedEncodingI18nException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(String aEncoding)
Creates a newUnsupportedEncodingI18nException
.- Parameters:
aEncoding
- An unsupported encoding
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Charset aEncoding)
Creates a newUnsupportedEncodingI18nException
.- Parameters:
aEncoding
- An unsupported encoding
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Charset aEncoding, Locale aLocale)
Creates a newUnsupportedEncodingI18nException
.- Parameters:
aEncoding
- An unsupported encodingaLocale
- A locale to use when getting the charset's name
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Throwable aCause, String aEncoding)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.- Parameters:
aCause
- The root cause of the exceptionaEncoding
- An unsupported encoding
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Throwable aCause, Charset aEncoding)
Creates a newUnsupportedEncodingI18nException
.- Parameters:
aCause
- The root cause of the exceptionaEncoding
- An unsupported encoding
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Throwable aCause, Charset aEncoding, Locale aLocale)
Creates a newUnsupportedEncodingI18nException
.- Parameters:
aCause
- The root cause of the exceptionaEncoding
- An unsupported encodingaLocale
- A locale to use when getting the charset's name
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(String aBundleName, String aMessageKey, Object... aVarargs)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.- Parameters:
aBundleName
- The name of a different message bundleaMessageKey
- A message key for the exception messageaVarargs
- Additional details to be inserted into the exception message
-
UnsupportedEncodingI18nException
public UnsupportedEncodingI18nException(Throwable aCause, String aBundleName, String aMessageKey, Object... aVarargs)
Creates a newUnsupportedEncodingI18nException
from the supplied root cause.- Parameters:
aCause
- The root cause of the exceptionaBundleName
- The name of a different message bundleaMessageKey
- A message key for the exception messageaVarargs
- Additional details to be inserted into the exception message
-
-