org.xins.logdoc
Class UnsupportedLocaleException

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

Constructor Summary
UnsupportedLocaleException(String locale)
          Constructs a new UnsupportedLocaleException.
 
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

UnsupportedLocaleException

public UnsupportedLocaleException(String locale)
                           throws IllegalArgumentException
Constructs a new UnsupportedLocaleException.

Parameters:
locale - the locale, cannot be null.
Throws:
IllegalArgumentException - if locale == null.
Method Detail

getLocale

public String getLocale()
Retrieves the unsupported locale.

Returns:
the unsupported locale, never null.


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