Class ExtendedElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.report.model.api.ModelException
org.eclipse.birt.report.model.api.activity.SemanticException
org.eclipse.birt.report.model.api.extension.ExtendedElementException
- All Implemented Interfaces:
Serializable
Base class for all peer-provided exceptions. The easiest implementation is to
simply wrap the specialized peer implementation inside one of these
exceptions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNumber of line.static final StringLocalized message.Hash map for the extended element exception propertiesstatic final StringThe reference to the editor.For example graphic editor, xml source editor, script editor and so on.Fields inherited from class SemanticException
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, elementFields inherited from class ModelException
PLUGIN_IDFields inherited from class org.eclipse.birt.core.exception.BirtException
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, Throwable cause) Constructs a new model exception.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, ResourceBundle bundle) Constructs a new model exception.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, ResourceBundle bundle, Throwable cause) Constructs a new model exception.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object arg0, ResourceBundle bundle) Constructs a new model exception.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object arg0, ResourceBundle bundle, Throwable cause) Constructs a new model exception.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, ResourceBundle bundle) Constructs a new model exception with no cause object.ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, ResourceBundle bundle, Throwable cause) Constructs a new model exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns localized message.getProperty(String propName) Returns extended element exception properties.voidsetProperty(String propName, Object value) Sets extended element exception properties.Methods inherited from class SemanticException
getElement, getElementName, getMessageMethods inherited from class org.eclipse.birt.core.exception.BirtException
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverityMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SUB_EDITOR
The reference to the editor.For example graphic editor, xml source editor, script editor and so on.- See Also:
-
LINE_NUMBER
-
LOCALIZED_MESSAGE
-
properties
-
-
Constructor Details
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, ResourceBundle bundle) Constructs a new model exception with no cause object.- Parameters:
element- The element with semantic error.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.
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, ResourceBundle bundle, Throwable cause) Constructs a new model exception.- Parameters:
element- The element with semantic error.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
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, ResourceBundle bundle, Throwable cause) Constructs a new model exception.- Parameters:
element- The element with semantic error.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.args- string arguments used to format error messagesbundle- the resourceBundle used to translate the message.cause- the nested exception
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object arg0, ResourceBundle bundle, Throwable cause) Constructs a new model exception.- Parameters:
element- The element with semantic error.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.arg0- first argument used to format error messagesbundle- the resourceBundle used to translate the message.cause- the nested exception
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, ResourceBundle bundle) Constructs a new model exception.- Parameters:
element- The element with semantic error.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.args- string arguments used to format error messagesbundle- the resourceBundle used to translate the message.
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object arg0, ResourceBundle bundle) Constructs a new model exception.- Parameters:
element- The element with semantic error.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.arg0- first argument used to format error messagesbundle- the resourceBundle used to translate the message.
-
ExtendedElementException
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, String pluginId, String errorCode, Object[] args, Throwable cause) Constructs a new model exception.- Parameters:
element- The element with semantic error.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.args- string arguments used to format error messagescause- the nested exception
-
-
Method Details
-
setProperty
-
getProperty
-
getLocalizedMessage
Returns localized message.- Overrides:
getLocalizedMessagein classSemanticException- Returns:
- localized message.
-