org.xins.logdoc
Class UnsupportedLocaleError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.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

Constructor Summary
UnsupportedLocaleError(UnsupportedLocaleException exception)
          Constructs a new UnsupportedLocaleError.
 
Method Summary
 String getLocale()
          Retrieves the unsupported locale.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedLocaleError

public UnsupportedLocaleError(UnsupportedLocaleException exception)
                       throws IllegalArgumentException
Constructs a new UnsupportedLocaleError.

Parameters:
exception - the source UnsupportedLocaleException, cannot be null.
Throws:
IllegalArgumentException - if exception == null.
Method Detail

getLocale

public String getLocale()
Retrieves the unsupported locale.

Returns:
the unsupported locale, never null.


See http://www.xins.org/.