|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.report.model.api.ModelException
public abstract class ModelException
Implementation of BirtException in model project.
Field Summary | |
---|---|
static java.lang.String |
PLUGIN_ID
The plugin id of all the model exceptions. |
Fields inherited from class org.eclipse.birt.core.exception.BirtException |
---|
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING |
Constructor Summary | |
---|---|
ModelException(java.lang.String errCode)
Constructs a new model exception with the error code. |
|
ModelException(java.lang.String errCode,
java.lang.String[] args,
java.lang.Throwable cause)
Constructs a new model exception with the error code, string arguments used to format error messages and the nested exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object[] args,
java.util.ResourceBundle bundle)
Constructs a new model exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object[] args,
java.util.ResourceBundle bundle,
java.lang.Throwable cause)
Constructs a new model exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.Throwable cause)
Constructs a new model exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object arg0,
java.util.ResourceBundle bundle)
Constructs a new model exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object arg0,
java.util.ResourceBundle bundle,
java.lang.Throwable cause)
Constructs a new model exception. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.util.ResourceBundle bundle)
Constructs a new model exception with no cause object. |
|
ModelException(java.lang.String pluginId,
java.lang.String errorCode,
java.util.ResourceBundle bundle,
java.lang.Throwable cause)
Constructs a new model exception. |
Method Summary |
---|
Methods inherited from class org.eclipse.birt.core.exception.BirtException |
---|
getErrorCode, getLocalizedMessage, getLocalizedMessage, getMessage, getPluginId, getSeverity, setSeverity |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PLUGIN_ID
Constructor Detail |
---|
public ModelException(java.lang.String errCode)
errCode
- used to retrieve a piece of externalized message displayed to
end userpublic ModelException(java.lang.String errCode, java.lang.String[] args, java.lang.Throwable cause)
errCode
- used to retrieve a piece of externalized message displayed to
end userargs
- string arguments used to format error messagescause
- the nested exceptionpublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle, java.lang.Throwable cause)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.cause
- the nested exceptionpublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle, java.lang.Throwable cause)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.args
- string arguments used to format error messagescause
- the nested exceptionpublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle, java.lang.Throwable cause)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.cause
- the nested exceptionarg0
- first argument used to format error messagespublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.args
- string arguments used to format error messagespublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.bundle
- the resourceBundle used to translate the message.arg0
- first argument used to format error messagespublic ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
pluginId
- Returns the unique identifier of the plug-in associated with
this exceptionerrorCode
- used to retrieve a piece of externalized message displayed to
end user.cause
- the nested exceptionargs
- string arguments used to format error messages
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |