public class ThemeException extends SemanticException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_NOT_FOUND
Error code indicating no style is found with the given name.
|
static java.lang.String |
DESIGN_EXCEPTION_WRONG_TYPE
Error code indicating the report item refers a wrong type of report item
theme.
|
protected java.lang.String |
themeName
The theme name being set.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
ThemeException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String str,
java.lang.String errCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.Object |
getTheme()
Returns the name of the style being set.
|
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
protected java.lang.String themeName
public static final java.lang.String DESIGN_EXCEPTION_NOT_FOUND
public static final java.lang.String DESIGN_EXCEPTION_WRONG_TYPE
public ThemeException(org.eclipse.birt.report.model.core.DesignElement obj, java.lang.String str, java.lang.String errCode)
obj
- the element being changed.str
- the name of the style.errCode
- the error code.public java.lang.Object getTheme()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.