public class PropertyNameException extends SemanticException
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DESIGN_EXCEPTION_MEMBER_NAME_INVALID
The member name is not defined on a structure.
|
static java.lang.String |
DESIGN_EXCEPTION_PROPERTY_NAME_INVALID
The property name is not defined on the element.
|
protected java.lang.String |
name
The property/member name that caused the error.
|
protected IStructure |
struct
A structure object.
|
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, elementPLUGIN_ID| 构造器和说明 |
|---|
PropertyNameException(org.eclipse.birt.report.model.core.DesignElement obj,
IStructure struct,
java.lang.String memberName)
Constructs a exception given a structure and its element and the invalid
member name.
|
PropertyNameException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String propName)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMemberName()
Return the invalid member name.
|
java.lang.String |
getPropertyName()
Returns the invalid property name.
|
getElement, getElementName, getMessagegetErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverityprotected java.lang.String name
protected IStructure struct
public static final java.lang.String DESIGN_EXCEPTION_PROPERTY_NAME_INVALID
public static final java.lang.String DESIGN_EXCEPTION_MEMBER_NAME_INVALID
public PropertyNameException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String propName)
obj - the element that has the property.propName - the property name that caused the errorpublic PropertyNameException(org.eclipse.birt.report.model.core.DesignElement obj,
IStructure struct,
java.lang.String memberName)
obj - the element that has the structure.struct - the structure that doesn't contain the member.memberName - the member name that caused the exception.public java.lang.String getPropertyName()
public java.lang.String getMemberName()
public java.lang.String getLocalizedMessage()
getLocalizedMessage 在类中 SemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.