public class ExtendedElementException extends SemanticException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_NUMBER
Number of line.
|
static java.lang.String |
LOCALIZED_MESSAGE
Localized message.
|
protected java.util.HashMap<java.lang.String,java.lang.Object> |
properties
Hash map for the extended element exception properties
|
static java.lang.String |
SUB_EDITOR
The reference to the editor.For example graphic editor, xml source
editor, script editor and so on.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object[] args,
java.util.ResourceBundle bundle)
Constructs a new model exception.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
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.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object[] args,
java.lang.Throwable cause)
Constructs a new model exception.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String pluginId,
java.lang.String errorCode,
java.lang.Object arg0,
java.util.ResourceBundle bundle)
Constructs a new model exception.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
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.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String pluginId,
java.lang.String errorCode,
java.util.ResourceBundle bundle)
Constructs a new model exception with no cause object.
|
ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String pluginId,
java.lang.String errorCode,
java.util.ResourceBundle bundle,
java.lang.Throwable cause)
Constructs a new model exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage()
Returns localized message.
|
java.lang.Object |
getProperty(java.lang.String propName)
Returns extended element exception properties.
|
void |
setProperty(java.lang.String propName,
java.lang.Object value)
Sets extended element exception properties.
|
getElement, getElementName, getMessage
public static final java.lang.String SUB_EDITOR
public static final java.lang.String LINE_NUMBER
public static final java.lang.String LOCALIZED_MESSAGE
protected java.util.HashMap<java.lang.String,java.lang.Object> properties
public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle)
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.public ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle, java.lang.Throwable cause)
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 exceptionpublic ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle, java.lang.Throwable cause)
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.args
- string arguments used to format error messagescause
- the nested exceptionpublic ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle, java.lang.Throwable cause)
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 exceptionarg0
- first argument used to format error messagespublic ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle)
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.args
- string arguments used to format error messagespublic ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle)
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.arg0
- first argument used to format error messagespublic ExtendedElementException(org.eclipse.birt.report.model.core.DesignElement element, java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
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.cause
- the nested exceptionargs
- string arguments used to format error messagespublic void setProperty(java.lang.String propName, java.lang.Object value)
propName
- property name of extended element exception.value
- value of extended element exception.public java.lang.Object getProperty(java.lang.String propName)
propName
- property name of extended element exception.public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class SemanticException
Copyright © 2014 OpenText Corp. All rights reserved.