Class ModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.report.model.api.ModelException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DesignFileException,MetaDataReaderException,SemanticException,StyleSheetException,StyleSheetParserException
public abstract class ModelException
extends org.eclipse.birt.core.exception.BirtException
Implementation of BirtException in model project.
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.birt.core.exception.BirtException
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionModelException(String errCode) Constructs a new model exception with the error code.ModelException(String errCode, String[] args, Throwable cause) Constructs a new model exception with the error code, string arguments used to format error messages and the nested exception.ModelException(String pluginId, String errorCode, Object[] args, Throwable cause) Constructs a new model exception.ModelException(String pluginId, String errorCode, Object[] args, ResourceBundle bundle) Constructs a new model exception.ModelException(String pluginId, String errorCode, Object[] args, ResourceBundle bundle, Throwable cause) Constructs a new model exception.ModelException(String pluginId, String errorCode, Object arg0, ResourceBundle bundle) Constructs a new model exception.ModelException(String pluginId, String errorCode, Object arg0, ResourceBundle bundle, Throwable cause) Constructs a new model exception.ModelException(String pluginId, String errorCode, ResourceBundle bundle) Constructs a new model exception with no cause object.ModelException(String pluginId, String errorCode, ResourceBundle bundle, 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, setSeverityMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PLUGIN_ID
The plugin id of all the model exceptions.- See Also:
-
-
Constructor Details
-
ModelException
Constructs a new model exception with the error code.- Parameters:
errCode- used to retrieve a piece of externalized message displayed to end user
-
ModelException
Constructs a new model exception with the error code, string arguments used to format error messages and the nested exception.- Parameters:
errCode- used to retrieve a piece of externalized message displayed to end userargs- string arguments used to format error messagescause- the nested exception
-
ModelException
Constructs a new model exception with no cause object.- Parameters:
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.
-
ModelException
Constructs a new model exception.- Parameters:
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 exception
-
ModelException
public ModelException(String pluginId, String errorCode, Object[] args, ResourceBundle bundle, Throwable cause) Constructs a new model exception.- Parameters:
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 exception
-
ModelException
public ModelException(String pluginId, String errorCode, Object arg0, ResourceBundle bundle, Throwable cause) Constructs a new model exception.- Parameters:
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 messages
-
ModelException
Constructs a new model exception.- Parameters:
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 messages
-
ModelException
Constructs a new model exception.- Parameters:
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 messages
-
ModelException
Constructs a new model exception.- Parameters:
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
-