public class PropertyNameException extends SemanticException
Modifier and Type | Field and Description |
---|---|
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, element
PLUGIN_ID
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMemberName()
Return the invalid member name.
|
java.lang.String |
getPropertyName()
Returns the invalid property name.
|
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
protected 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
in class SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.