public abstract class ModelException
extends org.eclipse.birt.core.exception.BirtException
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
PLUGIN_ID
The plugin id of all the model exceptions.
|
| 构造器和说明 |
|---|
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.
|
getErrorCode, getLocalizedMessage, getLocalizedMessage, getMessage, getPluginId, getSeverity, setSeveritypublic static final java.lang.String PLUGIN_ID
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 messagesCopyright © 2008 Actuate Corp. All rights reserved.