public class StyleException extends SemanticException
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DESIGN_EXCEPTION_FORBIDDEN
Error code indicating the element is not allowed to have style.
|
static java.lang.String |
DESIGN_EXCEPTION_NOT_FOUND
Error code indicating no style is found with the given name.
|
protected java.lang.String |
styleName
The style name being set.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, elementPLUGIN_ID| 构造器和说明 |
|---|
StyleException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String str,
java.lang.String errCode)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.Object |
getStyle()
Returns the name of the style being set.
|
getElement, getElementName, getMessagegetErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverityprotected java.lang.String styleName
public static final java.lang.String DESIGN_EXCEPTION_FORBIDDEN
public static final java.lang.String DESIGN_EXCEPTION_NOT_FOUND
public StyleException(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 getStyle()
public java.lang.String getLocalizedMessage()
getLocalizedMessage 在类中 SemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.