|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.report.model.api.ModelException
org.eclipse.birt.report.model.api.activity.SemanticException
org.eclipse.birt.report.model.api.command.PropertyNameException
public class PropertyNameException
Exception thrown when a property name is invalid.
Field Summary | |
---|---|
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. |
Fields inherited from class org.eclipse.birt.report.model.api.activity.SemanticException |
---|
element |
Fields inherited from class org.eclipse.birt.report.model.api.ModelException |
---|
PLUGIN_ID |
Fields inherited from class org.eclipse.birt.core.exception.BirtException |
---|
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage()
|
java.lang.String |
getMemberName()
Return the invalid member name. |
java.lang.String |
getPropertyName()
Returns the invalid property name. |
Methods inherited from class org.eclipse.birt.report.model.api.activity.SemanticException |
---|
getElement, getElementName, getMessage |
Methods inherited from class org.eclipse.birt.core.exception.BirtException |
---|
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getPropertyName()
public java.lang.String getMemberName()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class org.eclipse.birt.core.exception.BirtException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |