public class JahiaException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ACCOUNTS_ERROR
Accounts error code
|
static int |
ACL_ERROR
Access Control List error code
|
static int |
APPLICATION_ERROR |
static int |
CACHE_ERROR |
static int |
CONFIG_ERROR |
static int |
CRITICAL_SEVERITY |
static int |
DATA_ERROR |
static int |
DATABASE_ERROR |
static int |
ENGINE_ERROR |
static int |
ENGINE_VALIDATION_ERROR
Engine Validation Errors
|
static int |
ENTRY_NOT_FOUND
Archive File error code
|
static int |
ERROR_SEVERITY |
static int |
FATAL_SEVERITY |
static int |
FILE_ERROR |
static int |
INITIALIZATION_ERROR |
static int |
JAVASECURITY_ERROR
Java Security ERROR
|
static int |
JEF_ERROR
Jef file error code
|
protected static int |
LICENSE_ERROR
License error code
|
static int |
LISTENER_ERROR |
static int |
LOCK_ERROR
Lock error code
|
protected int |
mErrorCode |
protected int |
mErrorSeverity |
protected String |
mJahiaErrorMsg |
protected String |
mUserErrorMsg |
static int |
NEWSFEED_ERROR |
static int |
OBJECT_ERROR |
static int |
PAGE_ERROR
Page error code
|
static int |
PARAMETER_ERROR |
static int |
PERSISTENCE_ERROR |
static int |
REGISTRY_ERROR |
static int |
SECURITY_ERROR
Security error code (Access denied)
|
static int |
SERVICE_ERROR |
static int |
SERVLET_ERROR |
static int |
SESSION_ERROR
Session error code
|
static int |
SITE_NOT_FOUND
Site not found
|
static int |
TEMPLATE_ERROR |
static int |
TEMPLATE_SERVICE_ERROR
Template deployment and management error
|
static int |
UNAVAILABLE_ERROR
Service unavailable ERROR
|
static int |
USER_ERROR
User error code
|
static int |
WARNING_SEVERITY |
static int |
WINDOW_ERROR |
| Constructor and Description |
|---|
JahiaException(String userErrorMsg,
String jahiaErrorMsg,
int errorCode,
int errorSeverity)
constructor
EV 31.10.2000
|
JahiaException(String userErrorMsg,
String jahiaErrorMsg,
int errorCode,
int errorSeverity,
Throwable t)
This exception constructor allows us to keep the original exception information
so that we may display it and access more details about the real cause
of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Return the error code.
|
String |
getJahiaErrorMsg()
Return a string holding the internal (jahia) error message.
|
int |
getResponseErrorCode() |
Throwable |
getRootCause()
Accessor method for the root cause exception.
|
int |
getSeverity()
getSeverity
EV 31.10.2000
|
String |
getUserErrorMsg()
Return a string holding the user readeable error message.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic static final int WARNING_SEVERITY
public static final int ERROR_SEVERITY
public static final int CRITICAL_SEVERITY
public static final int FATAL_SEVERITY
public static final int INITIALIZATION_ERROR
public static final int DATABASE_ERROR
public static final int FILE_ERROR
public static final int DATA_ERROR
public static final int TEMPLATE_ERROR
public static final int PERSISTENCE_ERROR
public static final int USER_ERROR
public static final int PAGE_ERROR
public static final int WINDOW_ERROR
public static final int PARAMETER_ERROR
public static final int APPLICATION_ERROR
public static final int NEWSFEED_ERROR
public static final int CONFIG_ERROR
public static final int SERVICE_ERROR
public static final int REGISTRY_ERROR
public static final int SERVLET_ERROR
public static final int LISTENER_ERROR
public static final int SECURITY_ERROR
public static final int ACL_ERROR
public static final int CACHE_ERROR
public static final int OBJECT_ERROR
public static final int ENGINE_ERROR
public static final int LOCK_ERROR
public static final int SESSION_ERROR
protected static final int ACCOUNTS_ERROR
protected static final int LICENSE_ERROR
public static final int JEF_ERROR
public static final int JAVASECURITY_ERROR
public static final int ENGINE_VALIDATION_ERROR
public static final int UNAVAILABLE_ERROR
public static final int ENTRY_NOT_FOUND
public static final int SITE_NOT_FOUND
public static final int TEMPLATE_SERVICE_ERROR
protected String mUserErrorMsg
protected String mJahiaErrorMsg
protected int mErrorCode
protected int mErrorSeverity
public JahiaException(String userErrorMsg, String jahiaErrorMsg, int errorCode, int errorSeverity)
public JahiaException(String userErrorMsg, String jahiaErrorMsg, int errorCode, int errorSeverity, Throwable t)
public int getSeverity()
public final String getUserErrorMsg()
public final String getJahiaErrorMsg()
public final int getErrorCode()
public final Throwable getRootCause()
public void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic int getResponseErrorCode()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.