public class ThemeException extends SemanticException
| 限定符和类型 | 字段和说明 |
|---|---|
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, elementPLUGIN_ID| 构造器和说明 |
|---|
ThemeException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String str,
java.lang.String errCode)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.Object |
getTheme()
Returns the name of the style being set.
|
getElement, getElementName, getMessagegetErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverityprotected 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 在类中 SemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.