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:
java.io.Serializable
- Direct Known Subclasses:
DesignFileException,MetaDataReaderException,SemanticException,StyleSheetException,StyleSheetParserException
public abstract class ModelException extends org.eclipse.birt.core.exception.BirtExceptionImplementation of BirtException in model project.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLUGIN_IDThe plugin id of all the model exceptions.
-
Constructor Summary
Constructors Constructor Description 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.lang.Throwable cause)Constructs a new model 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 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
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
The plugin id of all the model exceptions.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ModelException
public ModelException(java.lang.String errCode)
Constructs a new model exception with the error code.- Parameters:
errCode- used to retrieve a piece of externalized message displayed to end user
-
ModelException
public 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.- 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
public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle)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
public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle, java.lang.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 exception
-
ModelException
public 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.- 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(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.- 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
public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle)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
public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle)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
public ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.lang.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.cause- the nested exceptionargs- string arguments used to format error messages
-
-