Class InvalidParentException
java.lang.Object
java.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.ExtendsException
org.eclipse.birt.report.model.api.command.InvalidParentException
- All Implemented Interfaces:
Serializable
An error indicates invalid parent while setting the extends property of an
element.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe element has no parent, it can not be localized.static final StringNo element exists with the parent name.static final StringThe library of the parent element is not included.static final StringThe parent element has no name.Fields inherited from class ExtendsException
DESIGN_EXCEPTION_CANT_EXTEND, DESIGN_EXCEPTION_CIRCULAR, DESIGN_EXCEPTION_EXTENDS_FORBIDDEN, DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT, DESIGN_EXCEPTION_SELF_EXTEND, DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE, DESIGN_EXCEPTION_WRONG_TYPE, extendsName, parentFields inherited from class SemanticException
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, elementFields inherited from class ModelException
PLUGIN_IDFields inherited from class org.eclipse.birt.core.exception.BirtException
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionInvalidParentException(org.eclipse.birt.report.model.core.DesignElement obj, String name, String errCode) Constructor.InvalidParentException(org.eclipse.birt.report.model.core.DesignElement obj, org.eclipse.birt.report.model.core.DesignElement parent, String errCode) Constructor. -
Method Summary
Methods inherited from class ExtendsException
getExtendsMethods inherited from class SemanticException
getElement, getElementName, getMessageMethods inherited from class org.eclipse.birt.core.exception.BirtException
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverityMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DESIGN_EXCEPTION_PARENT_NOT_FOUND
No element exists with the parent name.- See Also:
-
DESIGN_EXCEPTION_PARENT_NOT_INCLUDE
The library of the parent element is not included.- See Also:
-
DESIGN_EXCEPTION_NO_PARENT
The element has no parent, it can not be localized.- See Also:
-
DESIGN_EXCEPTION_UNNAMED_PARENT
The parent element has no name.- See Also:
-
-
Constructor Details
-
InvalidParentException
-
InvalidParentException
public InvalidParentException(org.eclipse.birt.report.model.core.DesignElement obj, org.eclipse.birt.report.model.core.DesignElement parent, String errCode) Constructor.- Parameters:
obj- the element being changed.parent- the parent element.errCode- what went wrong.
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classExtendsException
-