Package com.xpn.xwiki.plugin
Class PluginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.xpn.xwiki.XWikiException
-
- com.xpn.xwiki.plugin.PluginException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PackageException
,RightsManagerException
@Deprecated public class PluginException extends XWikiException
Deprecated.the plugin technology is deprecated, and XWikiException was a bad idea from the startXWiki-specific exceptions thrown by plugins.- Version:
- $Id: e05d2bc71f2fceff37a5a1862a2c67542f18a757 $
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.XWikiException
ERROR_CACHE_INITIALIZING, ERROR_DOC_RCS_PARSING, ERROR_DOC_XML_PARSING, ERROR_XWIKI_ACCESS_DENIED, ERROR_XWIKI_ACCESS_EXO_EXCEPTION_ADDING_USERS, ERROR_XWIKI_ACCESS_EXO_EXCEPTION_GROUPS, ERROR_XWIKI_ACCESS_EXO_EXCEPTION_LISTING_USERS, ERROR_XWIKI_ACCESS_EXO_EXCEPTION_USERS, ERROR_XWIKI_ACCESS_TOKEN_INVALID, ERROR_XWIKI_APP_ATTACHMENT_NOT_FOUND, ERROR_XWIKI_APP_CREATE_USER, ERROR_XWIKI_APP_DOCUMENT_NAME_INVALID, ERROR_XWIKI_APP_DOCUMENT_NOT_EMPTY, ERROR_XWIKI_APP_DOCUMENT_PATH_TOO_LONG, ERROR_XWIKI_APP_EXPORT, ERROR_XWIKI_APP_FILE_EXCEPTION_MAXSIZE, ERROR_XWIKI_APP_INVALID_CHARS, ERROR_XWIKI_APP_JAVA_HEAP_SPACE, ERROR_XWIKI_APP_REDIRECT_EXCEPTION, ERROR_XWIKI_APP_SEND_RESPONSE_EXCEPTION, ERROR_XWIKI_APP_SERVICE_NOT_FOUND, ERROR_XWIKI_APP_TEMPLATE_DOES_NOT_EXIST, ERROR_XWIKI_APP_TEMPLATE_NOT_AVAILABLE, ERROR_XWIKI_APP_UPLOAD_FILE_EXCEPTION, ERROR_XWIKI_APP_UPLOAD_PARSE_EXCEPTION, ERROR_XWIKI_APP_URL_EXCEPTION, ERROR_XWIKI_APP_VALIDATE_USER, ERROR_XWIKI_CLASSES_CANNOT_PREPARE_CUSTOM_DISPLAY, ERROR_XWIKI_CLASSES_CUSTOMCLASSINVOCATIONERROR, ERROR_XWIKI_CLASSES_DIFF, ERROR_XWIKI_CLASSES_FIELD_DOES_NOT_EXIST, ERROR_XWIKI_CLASSES_FIELD_INVALID, ERROR_XWIKI_CLASSES_PROPERTY_CLASS_IN_METACLASS, ERROR_XWIKI_CLASSES_PROPERTY_CLASS_INSTANCIATION, ERROR_XWIKI_CONFIG_FILENOTFOUND, ERROR_XWIKI_CONFIG_FORMATERROR, ERROR_XWIKI_CONTENT_LINK_INVALID_TARGET, ERROR_XWIKI_CONTENT_LINK_INVALID_URI, ERROR_XWIKI_DIFF_ATTACHMENT_ERROR, ERROR_XWIKI_DIFF_CLASS_ERROR, ERROR_XWIKI_DIFF_CONTENT_ERROR, ERROR_XWIKI_DIFF_METADATA_ERROR, ERROR_XWIKI_DIFF_OBJECT_ERROR, ERROR_XWIKI_DIFF_RENDERED_ERROR, ERROR_XWIKI_DIFF_XML_ERROR, ERROR_XWIKI_DOC_CUSTOMDOCINVOCATIONERROR, ERROR_XWIKI_DOC_EXPORT, ERROR_XWIKI_DOES_NOT_EXIST, ERROR_XWIKI_EMAIL_CANNOT_GET_VALIDATION_CONFIG, ERROR_XWIKI_EMAIL_CANNOT_PREPARE_VALIDATION_EMAIL, ERROR_XWIKI_EMAIL_CONNECT_FAILED, ERROR_XWIKI_EMAIL_ERROR_SENDING_EMAIL, ERROR_XWIKI_EMAIL_LOGIN_FAILED, ERROR_XWIKI_EMAIL_SEND_FAILED, ERROR_XWIKI_EXPORT_PDF_FOP_FAILED, ERROR_XWIKI_EXPORT_XSL_FAILED, ERROR_XWIKI_EXPORT_XSL_FILE_NOT_FOUND, ERROR_XWIKI_GROOVY_COMPILE_FAILED, ERROR_XWIKI_GROOVY_EXECUTION_FAILED, ERROR_XWIKI_INIT_FAILED, ERROR_XWIKI_MKDIR, ERROR_XWIKI_NOT_IMPLEMENTED, ERROR_XWIKI_NOTIFICATION, ERROR_XWIKI_PERLPLUGIN_PERLSERVER_EXCEPTION, ERROR_XWIKI_PERLPLUGIN_START, ERROR_XWIKI_PERLPLUGIN_START_EXCEPTION, ERROR_XWIKI_RENDERING_GROOVY_EXCEPTION, ERROR_XWIKI_RENDERING_VELOCITY_EXCEPTION, ERROR_XWIKI_STORE_ARCHIVEFORMAT, ERROR_XWIKI_STORE_ATTACHMENT_ARCHIVEFORMAT, ERROR_XWIKI_STORE_CLASSINVOCATIONERROR, ERROR_XWIKI_STORE_FILENOTFOUND, ERROR_XWIKI_STORE_HIBERNATE_CANNOT_DELETE_UNLOADED_DOC, ERROR_XWIKI_STORE_HIBERNATE_CHECK_EXISTS_DATABASE, ERROR_XWIKI_STORE_HIBERNATE_CHECK_EXISTS_DOC, ERROR_XWIKI_STORE_HIBERNATE_CREATE_DATABASE, ERROR_XWIKI_STORE_HIBERNATE_DELETE_DATABASE, ERROR_XWIKI_STORE_HIBERNATE_DELETING_ATTACHMENT, ERROR_XWIKI_STORE_HIBERNATE_DELETING_DOC, ERROR_XWIKI_STORE_HIBERNATE_DELETING_LINKS, ERROR_XWIKI_STORE_HIBERNATE_DELETING_LOCK, ERROR_XWIKI_STORE_HIBERNATE_DELETING_OBJECT, ERROR_XWIKI_STORE_HIBERNATE_INVALID_MAPPING, ERROR_XWIKI_STORE_HIBERNATE_LOADING_ATTACHMENT, ERROR_XWIKI_STORE_HIBERNATE_LOADING_BACKLINKS, ERROR_XWIKI_STORE_HIBERNATE_LOADING_CLASS, ERROR_XWIKI_STORE_HIBERNATE_LOADING_LINKS, ERROR_XWIKI_STORE_HIBERNATE_LOADING_LOCK, ERROR_XWIKI_STORE_HIBERNATE_LOADING_OBJECT, ERROR_XWIKI_STORE_HIBERNATE_MAPPING_INJECTION_FAILED, ERROR_XWIKI_STORE_HIBERNATE_READING_DOC, ERROR_XWIKI_STORE_HIBERNATE_READING_REVISIONS, ERROR_XWIKI_STORE_HIBERNATE_READING_VERSION, ERROR_XWIKI_STORE_HIBERNATE_RENAMING_DOC, ERROR_XWIKI_STORE_HIBERNATE_SAVING_ATTACHMENT, ERROR_XWIKI_STORE_HIBERNATE_SAVING_ATTACHMENT_LIST, ERROR_XWIKI_STORE_HIBERNATE_SAVING_CLASS, ERROR_XWIKI_STORE_HIBERNATE_SAVING_DOC, ERROR_XWIKI_STORE_HIBERNATE_SAVING_LINKS, ERROR_XWIKI_STORE_HIBERNATE_SAVING_LOCK, ERROR_XWIKI_STORE_HIBERNATE_SAVING_OBJECT, ERROR_XWIKI_STORE_HIBERNATE_SEARCH, ERROR_XWIKI_STORE_HIBERNATE_SEARCHING_ATTACHMENT, ERROR_XWIKI_STORE_HIBERNATE_SWITCH_DATABASE, ERROR_XWIKI_STORE_HIBERNATE_UNEXISTANT_VERSION, ERROR_XWIKI_STORE_MIGRATION, ERROR_XWIKI_STORE_MISC, ERROR_XWIKI_STORE_RCS_DELETING_ATTACHMENT, ERROR_XWIKI_STORE_RCS_DELETING_FILE, ERROR_XWIKI_STORE_RCS_LOADING_ATTACHMENT, ERROR_XWIKI_STORE_RCS_READING_FILE, ERROR_XWIKI_STORE_RCS_READING_REVISIONS, ERROR_XWIKI_STORE_RCS_READING_VERSION, ERROR_XWIKI_STORE_RCS_SAVING_ATTACHMENT, ERROR_XWIKI_STORE_RCS_SAVING_FILE, ERROR_XWIKI_STORE_RCS_SEARCH, ERROR_XWIKI_STORE_RCS_SEARCHING_ATTACHMENT, ERROR_XWIKI_STORE_SEARCH_NOTIMPL, ERROR_XWIKI_UNKNOWN, ERROR_XWIKI_USER_CREATE, ERROR_XWIKI_USER_DISABLED, ERROR_XWIKI_USER_INACTIVE, ERROR_XWIKI_USER_INIT, MODULE_XWIKI, MODULE_XWIKI_ACCESS, MODULE_XWIKI_APP, MODULE_XWIKI_CACHE, MODULE_XWIKI_CLASSES, MODULE_XWIKI_CONFIG, MODULE_XWIKI_CONTENT, MODULE_XWIKI_DIFF, MODULE_XWIKI_DOC, MODULE_XWIKI_EMAIL, MODULE_XWIKI_EXPORT, MODULE_XWIKI_GROOVY, MODULE_XWIKI_GWT_API, MODULE_XWIKI_NOTIFICATION, MODULE_XWIKI_PERLPLUGINS, MODULE_XWIKI_PLUGINS, MODULE_XWIKI_RENDERING, MODULE_XWIKI_STORE, MODULE_XWIKI_USER, MODULE_XWIKI_XMLRPC
-
-
Constructor Summary
Constructors Constructor Description PluginException()
Deprecated.Empty constructor, with no information provided.PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message)
Deprecated.Exception constructor.PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message, Throwable e)
Deprecated.Exception constructor.PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message, Throwable e, Object[] args)
Deprecated.Exception constructor.PluginException(String pluginName, int code, String message)
Deprecated.Exception constructor.PluginException(String pluginName, int code, String message, Throwable e)
Deprecated.Exception constructor.PluginException(String pluginName, int code, String message, Throwable e, Object[] args)
Deprecated.Exception constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getPluginName()
Deprecated.Get the name of the plugin that triggered the exception.-
Methods inherited from class com.xpn.xwiki.XWikiException
getArgs, getCode, getException, getFullMessage, getMessage, getModule, getModuleName, getStackTraceAsString, getStackTraceAsString, setArgs, setCode, setException, setMessage, setModule
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PluginException
public PluginException(String pluginName, int code, String message, Throwable e, Object[] args)
Deprecated.Exception constructor.- Parameters:
pluginName
- the name of the plugin that triggered the exceptioncode
- exception codemessage
- the exception messagee
- a nested exception that caused this exception in the first placeargs
- extra information about the exception
-
PluginException
public PluginException(String pluginName, int code, String message, Throwable e)
Deprecated.Exception constructor.- Parameters:
pluginName
- the name of the plugin that triggered the exceptioncode
- exception codemessage
- the exception messagee
- a nested exception that caused this exception in the first place
-
PluginException
public PluginException(String pluginName, int code, String message)
Deprecated.Exception constructor.- Parameters:
pluginName
- the name of the plugin that triggered the exceptioncode
- exception codemessage
- the exception message
-
PluginException
public PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message, Throwable e, Object[] args)
Deprecated.Exception constructor.- Parameters:
plugin
- the type of plugin that triggered the exceptioncode
- exception codemessage
- the exception messagee
- a nested exception that caused this exception in the first placeargs
- extra information about the exception
-
PluginException
public PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message, Throwable e)
Deprecated.Exception constructor.- Parameters:
plugin
- the type of plugin that triggered the exceptioncode
- exception codemessage
- the exception messagee
- a nested exception that caused this exception in the first place
-
PluginException
public PluginException(Class<? extends XWikiPluginInterface> plugin, int code, String message)
Deprecated.Exception constructor.- Parameters:
plugin
- the type of plugin that triggered the exceptioncode
- exception codemessage
- the exception message
-
PluginException
public PluginException()
Deprecated.Empty constructor, with no information provided.
-
-
Method Detail
-
getPluginName
public String getPluginName()
Deprecated.Get the name of the plugin that triggered the exception.- Returns:
- the plugin name, see
XWikiPluginInterface.getName()
-
-