org.xins.logdoc
Class UnsupportedLocaleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xins.logdoc.UnsupportedLocaleException
- All Implemented Interfaces:
- Serializable
- public final class UnsupportedLocaleException
- extends Exception
Exception thrown if a specified locale is not supported by at least one
logdoc Log
class.
- Since:
- XINS 1.0.0
- Version:
- $Revision: 1.10 $ $Date: 2006/08/28 09:12:30 $
- Author:
- Ernst de Haan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnsupportedLocaleException
public UnsupportedLocaleException(String locale)
throws IllegalArgumentException
- Constructs a new
UnsupportedLocaleException
.
- Parameters:
locale
- the locale, cannot be null
.
- Throws:
IllegalArgumentException
- if locale == null
.
getLocale
public String getLocale()
- Retrieves the unsupported locale.
- Returns:
- the unsupported locale, never
null
.
See http://www.xins.org/.