org.xins.logdoc
Class UnsupportedLocaleError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.xins.logdoc.UnsupportedLocaleError
- All Implemented Interfaces:
- Serializable
- public final class UnsupportedLocaleError
- extends Error
Error thrown if a mandatory locale is not supported by a logdoc
Log
class.
- Since:
- XINS 1.2.0
- Version:
- $Revision: 1.5 $ $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 |
UnsupportedLocaleError
public UnsupportedLocaleError(UnsupportedLocaleException exception)
throws IllegalArgumentException
- Constructs a new
UnsupportedLocaleError
.
- Parameters:
exception
- the source UnsupportedLocaleException
, cannot be
null
.
- Throws:
IllegalArgumentException
- if exception == null
.
getLocale
public String getLocale()
- Retrieves the unsupported locale.
- Returns:
- the unsupported locale, never
null
.
See http://www.xins.org/.