Package com.lokalized
Class UnsupportedLocaleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.lokalized.UnsupportedLocaleException
- All Implemented Interfaces:
Serializable
Exception thrown when an operation was performed on a locale that is not recognized by the system.
This class is intended for use by a single thread.
- Author:
- Mark Allen
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedLocaleException
(Locale locale) Constructs a new exception with the unsupported locale. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedLocaleException
Constructs a new exception with the unsupported locale.- Parameters:
locale
- the unsupported locale which triggered this exception, not null
-
-
Method Details
-
getLocale
The unsupported locale that triggered this exception.- Returns:
- the unsupported locale, not null
-