|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.xpn.xwiki.XWikiException
com.xpn.xwiki.plugin.PluginException
com.xpn.xwiki.plugin.wikimanager.WikiManagerException
public class WikiManagerException
Wiki Manager plugin base exception.
| Field Summary | |
|---|---|
static int |
ERROR_WM_PACKAGEDOESNOTEXISTS
Error when trying to get an attached XAR package that does not exists. |
static int |
ERROR_WM_PACKAGEIMPORT
Error when trying to load a XAR package file in a list of XWikiDocument. |
static int |
ERROR_WM_PACKAGEINSTALL
Error when trying to insert in wiki a loaded XAR package list of XWikiDocument. |
static int |
ERROR_WM_UPDATEDATABASE
Error when trying to update the database/schema. |
static int |
ERROR_WM_WIKIALIASDOESNOTEXISTS
Error when trying to get a provided wiki alias that does not exist. |
static int |
ERROR_WM_WIKIALREADYEXISTS
Error when trying to create wiki descriptor that already exists. |
static int |
ERROR_WM_WIKIDOESNOTEXISTS
Error when trying to use a provided wiki descriptor that does not exist. |
static int |
ERROR_WM_WIKINAMEFORBIDDEN
Error when trying to create a wiki with a forbidden provided name. |
static int |
ERROR_WM_XWIKINOTVIRTUAL
Error when trying to execute action that need xwiki engine to be in virtual mode and is not. |
static int |
ERROR_XWIKI_USERDOESNOTEXIST
Error when trying to use provided user that does not exists. |
static int |
MODULE_PLUGIN_WIKIMANAGER
Wiki Manager plugin error identifier. |
| Constructor Summary | |
|---|---|
WikiManagerException(int code,
String message)
Create an WikiManagerException. |
|
WikiManagerException(int code,
String message,
Throwable e)
Create an WikiManagerException. |
|
WikiManagerException(int code,
String message,
Throwable e,
Object[] args)
Create an WikiManagerException. |
|
| Method Summary | |
|---|---|
static WikiManagerException |
getDefaultException()
|
| Methods inherited from class com.xpn.xwiki.plugin.PluginException |
|---|
getPluginName |
| Methods inherited from class com.xpn.xwiki.XWikiException |
|---|
getArgs, getCause, getCode, getException, getFullMessage, getMessage, getModule, getModuleName, getStackTraceAsString, getStackTraceAsString, printStackTrace, printStackTrace, setArgs, setCode, setException, setMessage, setModule |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ERROR_XWIKI_USERDOESNOTEXIST
TODO : move in XWikiException
public static final int MODULE_PLUGIN_WIKIMANAGER
public static final int ERROR_WM_WIKIALREADYEXISTS
public static final int ERROR_WM_WIKIDOESNOTEXISTS
public static final int ERROR_WM_UPDATEDATABASE
public static final int ERROR_WM_WIKINAMEFORBIDDEN
public static final int ERROR_WM_XWIKINOTVIRTUAL
public static final int ERROR_WM_PACKAGEDOESNOTEXISTS
public static final int ERROR_WM_PACKAGEIMPORT
XWikiDocument.
public static final int ERROR_WM_PACKAGEINSTALL
XWikiDocument.
public static final int ERROR_WM_WIKIALIASDOESNOTEXISTS
| Constructor Detail |
|---|
public WikiManagerException(int code,
String message)
code - the error code.message - a literal message about this error.
public WikiManagerException(int code,
String message,
Throwable e,
Object[] args)
message by the passed
args parameters. The format is the one used by MessageFormat.
code - the error code.message - a literal message about this error.e - the exception this exception wrap.args - the array of parameters to use for replacing "{N}" elements in the string. See
MessageFormat for the full syntax
public WikiManagerException(int code,
String message,
Throwable e)
code - the error code.message - a literal message about this error.e - the exception this exception wrap.| Method Detail |
|---|
public static WikiManagerException getDefaultException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||