|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBirtException
org.eclipse.birt.report.engine.api.EngineException
public class EngineException
Define an engine exception that clients of the engine need to handle. EngineException builds on top of BireException and provides resource bundle support
Field Summary | |
---|---|
protected 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 Summary | |
---|---|
EngineException(BirtException ex)
|
|
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)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 BirtException birtException
protected static java.util.HashMap resourceBundles
Constructor Detail |
---|
public EngineException(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, java.lang.Throwable cause)
errorCode
- the error code for the exceptioncause
- the cause of the exceptionMethod Detail |
---|
public 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()
public java.lang.String getLocalizedMessage()
public java.lang.String getMessage()
public java.lang.String getPluginId()
public int getSeverity()
public void setSeverity(int severity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |