public class EngineException
extends org.eclipse.birt.core.exception.BirtException
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.birt.core.exception.BirtException |
birtException |
protected static com.ibm.icu.util.UResourceBundle |
dftRb |
protected long |
elementId |
protected static java.lang.String |
pluginId |
protected static java.util.HashMap |
resourceBundles |
protected static java.lang.ThreadLocal |
threadLocal |
Constructor and Description |
---|
EngineException(org.eclipse.birt.core.exception.BirtException ex) |
EngineException(java.lang.String errorCode) |
EngineException(java.lang.String errorCode,
java.lang.Object arg0) |
EngineException(java.lang.String errorCode,
java.lang.Object[] args) |
EngineException(java.lang.String errorCode,
java.lang.Object[] args,
java.lang.Throwable cause) |
EngineException(java.lang.String errorCode,
java.lang.Object arg0,
java.lang.Throwable cause) |
EngineException(java.lang.String errorCode,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
long |
getElementID()
Get element id.
|
java.lang.String |
getErrorCode() |
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
java.lang.String |
getPluginId() |
protected static com.ibm.icu.util.UResourceBundle |
getResourceBundle(com.ibm.icu.util.ULocale locale)
Get resource bundle.
|
int |
getSeverity() |
void |
setElementID(long id)
Set element id.
|
void |
setSeverity(int severity) |
static void |
setULocale(com.ibm.icu.util.ULocale locale)
Set locale.
|
protected static com.ibm.icu.util.UResourceBundle dftRb
protected static java.lang.ThreadLocal threadLocal
protected static final java.lang.String pluginId
protected long elementId
protected org.eclipse.birt.core.exception.BirtException birtException
protected static java.util.HashMap resourceBundles
public EngineException(org.eclipse.birt.core.exception.BirtException ex)
public EngineException(java.lang.String errorCode, java.lang.Object arg0)
errorCode
- erroe code for the exceptionarg0
- message argumentpublic EngineException(java.lang.String errorCode, java.lang.Object arg0, java.lang.Throwable cause)
errorCode
- arg0
- message argumentcause
- the cause of the exceptionpublic EngineException(java.lang.String errorCode, java.lang.Object[] args)
errorCode
- error codeargs
- message argumentpublic EngineException(java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
errorCode
- error codeargs
- message argumentscause
- the cause of the exceptionpublic EngineException(java.lang.String errorCode)
errorCode
- the error codepublic EngineException(java.lang.String errorCode, java.lang.Throwable cause)
errorCode
- the error code for the exceptioncause
- the cause of the exceptionpublic static void setULocale(com.ibm.icu.util.ULocale locale)
locale
- protected static com.ibm.icu.util.UResourceBundle getResourceBundle(com.ibm.icu.util.ULocale locale)
locale
- public void setElementID(long id)
id
- public long getElementID()
public java.lang.String getErrorCode()
getErrorCode
in class org.eclipse.birt.core.exception.BirtException
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class org.eclipse.birt.core.exception.BirtException
public java.lang.String getMessage()
getMessage
in class org.eclipse.birt.core.exception.BirtException
public java.lang.String getPluginId()
getPluginId
in class org.eclipse.birt.core.exception.BirtException
public int getSeverity()
getSeverity
in class org.eclipse.birt.core.exception.BirtException
public void setSeverity(int severity)
setSeverity
in class org.eclipse.birt.core.exception.BirtException
Copyright © 2008 Actuate Corp. All rights reserved.