Package org.apache.wiki.api.exceptions
Class WikiI18nException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.apache.wiki.api.exceptions.WikiException
- 
- org.apache.wiki.api.exceptions.WikiI18nException
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Direct Known Subclasses:
- DuplicateUserException
 
 public class WikiI18nException extends WikiException A generic Wiki exception, meant to carry key & args to construct i18n messages to show meaningful messages to end-user. Classes and/or JSPs on the web tier are responsible of constructing the appropiate message.- Since:
- 2.9.1
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Object[]argsarguments needed to construct the i18n message associated with the exception.
 - 
Constructor SummaryConstructors Constructor Description WikiI18nException(java.lang.String key, java.lang.Object... args)Constructs an exception.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getArgs()getter.
 
- 
- 
- 
Field Detail- 
argsprotected final java.lang.Object[] args arguments needed to construct the i18n message associated with the exception.
 
- 
 - 
Constructor Detail- 
WikiI18nExceptionpublic WikiI18nException(java.lang.String key, java.lang.Object... args) Constructs an exception.- Parameters:
- key- the key corresponding to the i18n message in the exception.
- args- arguments needed to construct the i18n message associated with the exception.
 
 
- 
 - 
Method Detail- 
getArgspublic java.lang.Object[] getArgs() getter.- Returns:
- arguments needed to construct the i18n message associated with the exception.
 
 
- 
 
-