org.xins.logdoc
Class UnsupportedLocaleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.xins.logdoc.UnsupportedLocaleException
All Implemented Interfaces:
Serializable

public final class UnsupportedLocaleException
extends RuntimeException

Exception thrown if a specified locale is not supported by at least one logdoc Log class.

Since:
XINS 1.0.0
Version:
$Revision: 1.17 $ $Date: 2008/07/04 10:22:53 $
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/.