public class XWikiException extends Exception
Constructor and Description |
---|
XWikiException() |
XWikiException(int module,
int code,
String message) |
XWikiException(int module,
int code,
String message,
Throwable e) |
XWikiException(int module,
int code,
String message,
Throwable e,
Object[] args) |
XWikiException(String message,
Throwable e) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArgs() |
int |
getCode() |
Throwable |
getException()
Deprecated.
since 5.2M2, use
Throwable.getCause() instead |
String |
getFullMessage() |
String |
getMessage() |
int |
getModule() |
String |
getModuleName() |
String |
getStackTraceAsString() |
String |
getStackTraceAsString(Throwable e) |
void |
setArgs(Object[] args) |
void |
setCode(int code) |
void |
setException(Throwable exception)
Deprecated.
since 5.2M2, use
Throwable.initCause(Throwable) instead |
void |
setMessage(String message)
Deprecated.
since 5.2M2, the message should be passed to the constructor
|
void |
setModule(int module) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int MODULE_XWIKI
public static final int MODULE_XWIKI_CONFIG
public static final int MODULE_XWIKI_DOC
public static final int MODULE_XWIKI_STORE
public static final int MODULE_XWIKI_RENDERING
public static final int MODULE_XWIKI_PLUGINS
public static final int MODULE_XWIKI_PERLPLUGINS
public static final int MODULE_XWIKI_CLASSES
public static final int MODULE_XWIKI_USER
public static final int MODULE_XWIKI_ACCESS
public static final int MODULE_XWIKI_EMAIL
public static final int MODULE_XWIKI_APP
public static final int MODULE_XWIKI_EXPORT
public static final int MODULE_XWIKI_DIFF
public static final int MODULE_XWIKI_GROOVY
public static final int MODULE_XWIKI_NOTIFICATION
public static final int MODULE_XWIKI_CACHE
public static final int MODULE_XWIKI_CONTENT
public static final int MODULE_XWIKI_XMLRPC
public static final int MODULE_XWIKI_GWT_API
public static final int ERROR_XWIKI_UNKNOWN
public static final int ERROR_XWIKI_NOT_IMPLEMENTED
public static final int ERROR_XWIKI_DOES_NOT_EXIST
public static final int ERROR_XWIKI_INIT_FAILED
public static final int ERROR_XWIKI_MKDIR
public static final int ERROR_XWIKI_DOC_CUSTOMDOCINVOCATIONERROR
public static final int ERROR_XWIKI_CONFIG_FILENOTFOUND
public static final int ERROR_XWIKI_CONFIG_FORMATERROR
public static final int ERROR_XWIKI_DOC_EXPORT
public static final int ERROR_DOC_XML_PARSING
public static final int ERROR_DOC_RCS_PARSING
public static final int ERROR_XWIKI_STORE_CLASSINVOCATIONERROR
public static final int ERROR_XWIKI_STORE_FILENOTFOUND
public static final int ERROR_XWIKI_STORE_ARCHIVEFORMAT
public static final int ERROR_XWIKI_STORE_ATTACHMENT_ARCHIVEFORMAT
public static final int ERROR_XWIKI_STORE_MIGRATION
public static final int ERROR_XWIKI_STORE_MISC
public static final int ERROR_XWIKI_STORE_RCS_SAVING_FILE
public static final int ERROR_XWIKI_STORE_RCS_READING_FILE
public static final int ERROR_XWIKI_STORE_RCS_DELETING_FILE
public static final int ERROR_XWIKI_STORE_RCS_READING_REVISIONS
public static final int ERROR_XWIKI_STORE_RCS_READING_VERSION
public static final int ERROR_XWIKI_STORE_RCS_SEARCH
public static final int ERROR_XWIKI_STORE_RCS_LOADING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_RCS_SAVING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_RCS_SEARCHING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_RCS_DELETING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_READING_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETING_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_CANNOT_DELETE_UNLOADED_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_READING_REVISIONS
public static final int ERROR_XWIKI_STORE_HIBERNATE_READING_VERSION
public static final int ERROR_XWIKI_STORE_HIBERNATE_UNEXISTANT_VERSION
public static final int ERROR_XWIKI_STORE_HIBERNATE_RENAMING_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_OBJECT
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_OBJECT
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETING_OBJECT
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_CLASS
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_CLASS
public static final int ERROR_XWIKI_STORE_HIBERNATE_SEARCH
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_ATTACHMENT_LIST
public static final int ERROR_XWIKI_STORE_HIBERNATE_SEARCHING_ATTACHMENT
public static final int ERROR_XWIKI_STORE_HIBERNATE_CHECK_EXISTS_DOC
public static final int ERROR_XWIKI_STORE_HIBERNATE_SWITCH_DATABASE
public static final int ERROR_XWIKI_STORE_HIBERNATE_CREATE_DATABASE
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETE_DATABASE
public static final int ERROR_XWIKI_STORE_HIBERNATE_CHECK_EXISTS_DATABASE
public static final int ERROR_XWIKI_RENDERING_VELOCITY_EXCEPTION
public static final int ERROR_XWIKI_RENDERING_GROOVY_EXCEPTION
public static final int ERROR_XWIKI_PERLPLUGIN_START_EXCEPTION
public static final int ERROR_XWIKI_PERLPLUGIN_START
public static final int ERROR_XWIKI_PERLPLUGIN_PERLSERVER_EXCEPTION
public static final int ERROR_XWIKI_CLASSES_FIELD_DOES_NOT_EXIST
public static final int ERROR_XWIKI_CLASSES_FIELD_INVALID
public static final int ERROR_XWIKI_CLASSES_DIFF
public static final int ERROR_XWIKI_CLASSES_CUSTOMCLASSINVOCATIONERROR
public static final int ERROR_XWIKI_CLASSES_PROPERTY_CLASS_INSTANCIATION
public static final int ERROR_XWIKI_CLASSES_PROPERTY_CLASS_IN_METACLASS
public static final int ERROR_XWIKI_CLASSES_CANNOT_PREPARE_CUSTOM_DISPLAY
public static final int ERROR_XWIKI_USER_INIT
public static final int ERROR_XWIKI_USER_CREATE
public static final int ERROR_XWIKI_USER_INACTIVE
public static final int ERROR_XWIKI_USER_DISABLED
public static final int ERROR_XWIKI_ACCESS_DENIED
public static final int ERROR_XWIKI_ACCESS_TOKEN_INVALID
public static final int ERROR_XWIKI_ACCESS_EXO_EXCEPTION_USERS
public static final int ERROR_XWIKI_ACCESS_EXO_EXCEPTION_GROUPS
public static final int ERROR_XWIKI_ACCESS_EXO_EXCEPTION_ADDING_USERS
public static final int ERROR_XWIKI_ACCESS_EXO_EXCEPTION_LISTING_USERS
public static final int ERROR_XWIKI_EMAIL_CANNOT_GET_VALIDATION_CONFIG
public static final int ERROR_XWIKI_EMAIL_CANNOT_PREPARE_VALIDATION_EMAIL
public static final int ERROR_XWIKI_EMAIL_ERROR_SENDING_EMAIL
public static final int ERROR_XWIKI_EMAIL_CONNECT_FAILED
public static final int ERROR_XWIKI_EMAIL_LOGIN_FAILED
public static final int ERROR_XWIKI_EMAIL_SEND_FAILED
public static final int ERROR_XWIKI_APP_TEMPLATE_DOES_NOT_EXIST
public static final int ERROR_XWIKI_APP_DOCUMENT_NOT_EMPTY
public static final int ERROR_XWIKI_APP_ATTACHMENT_NOT_FOUND
public static final int ERROR_XWIKI_APP_CREATE_USER
public static final int ERROR_XWIKI_APP_VALIDATE_USER
public static final int ERROR_XWIKI_APP_INVALID_CHARS
public static final int ERROR_XWIKI_APP_URL_EXCEPTION
public static final int ERROR_XWIKI_APP_UPLOAD_PARSE_EXCEPTION
public static final int ERROR_XWIKI_APP_UPLOAD_FILE_EXCEPTION
public static final int ERROR_XWIKI_APP_REDIRECT_EXCEPTION
public static final int ERROR_XWIKI_APP_SEND_RESPONSE_EXCEPTION
public static final int ERROR_XWIKI_APP_SERVICE_NOT_FOUND
public static final int ERROR_XWIKI_APP_FILE_EXCEPTION_MAXSIZE
public static final int ERROR_XWIKI_APP_JAVA_HEAP_SPACE
public static final int ERROR_XWIKI_APP_EXPORT
public static final int ERROR_XWIKI_APP_TEMPLATE_NOT_AVAILABLE
public static final int ERROR_XWIKI_APP_DOCUMENT_PATH_TOO_LONG
public static final int ERROR_XWIKI_APP_DOCUMENT_NAME_INVALID
public static final int ERROR_XWIKI_EXPORT_XSL_FILE_NOT_FOUND
public static final int ERROR_XWIKI_EXPORT_PDF_FOP_FAILED
public static final int ERROR_XWIKI_EXPORT_XSL_FAILED
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_LOCK
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_LOCK
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETING_LOCK
public static final int ERROR_XWIKI_STORE_HIBERNATE_INVALID_MAPPING
public static final int ERROR_XWIKI_STORE_HIBERNATE_MAPPING_INJECTION_FAILED
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_LINKS
public static final int ERROR_XWIKI_STORE_HIBERNATE_SAVING_LINKS
public static final int ERROR_XWIKI_STORE_HIBERNATE_DELETING_LINKS
public static final int ERROR_XWIKI_STORE_HIBERNATE_LOADING_BACKLINKS
public static final int ERROR_XWIKI_DIFF_CONTENT_ERROR
public static final int ERROR_XWIKI_DIFF_RENDERED_ERROR
public static final int ERROR_XWIKI_DIFF_METADATA_ERROR
public static final int ERROR_XWIKI_DIFF_CLASS_ERROR
public static final int ERROR_XWIKI_DIFF_OBJECT_ERROR
public static final int ERROR_XWIKI_DIFF_ATTACHMENT_ERROR
public static final int ERROR_XWIKI_DIFF_XML_ERROR
public static final int ERROR_XWIKI_STORE_SEARCH_NOTIMPL
public static final int ERROR_XWIKI_GROOVY_COMPILE_FAILED
public static final int ERROR_XWIKI_GROOVY_EXECUTION_FAILED
public static final int ERROR_XWIKI_NOTIFICATION
public static final int ERROR_CACHE_INITIALIZING
public static final int ERROR_XWIKI_CONTENT_LINK_INVALID_TARGET
public static final int ERROR_XWIKI_CONTENT_LINK_INVALID_URI
public XWikiException(int module, int code, String message, Throwable e, Object[] args)
public XWikiException(int module, int code, String message)
public XWikiException()
public int getModule()
public String getModuleName()
public void setModule(int module)
public int getCode()
public void setCode(int code)
@Deprecated public Throwable getException()
Throwable.getCause()
instead@Deprecated public void setException(Throwable exception)
Throwable.initCause(Throwable)
insteadpublic Object[] getArgs()
public void setArgs(Object[] args)
public String getMessage()
getMessage
in class Throwable
@Deprecated public void setMessage(String message)
public String getFullMessage()
public String getStackTraceAsString()
Copyright © 2004–2021 XWiki. All rights reserved.