public class CircularExtendsException extends ExtendsException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESIGN_EXCEPTION_CIRCULAR
The extension would create a cycle: a extends b extends a.
|
static java.lang.String |
DESIGN_EXCEPTION_SELF_EXTEND
The element cannot extend from itself.
|
DESIGN_EXCEPTION_CANT_EXTEND, DESIGN_EXCEPTION_EXTENDS_FORBIDDEN, DESIGN_EXCEPTION_NO_PARENT, DESIGN_EXCEPTION_PARENT_NOT_FOUND, DESIGN_EXCEPTION_PARENT_NOT_IN_COMPONENT, DESIGN_EXCEPTION_PARENT_NOT_INCLUDE, DESIGN_EXCEPTION_UNNAMED_PARENT, DESIGN_EXCEPTION_WRONG_EXTENSION_TYPE, DESIGN_EXCEPTION_WRONG_TYPE, extendsName, parent
DESIGN_EXCEPTION__EXPORT_ELEMENT_FAIL, element
PLUGIN_ID
Constructor and Description |
---|
CircularExtendsException(org.eclipse.birt.report.model.core.DesignElement obj,
org.eclipse.birt.report.model.core.DesignElement parent,
java.lang.String errCode)
Constructor.
|
CircularExtendsException(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String name,
java.lang.String errCode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
getExtends
getElement, getElementName, getMessage
getErrorCode, getLocalizedMessage, getPluginId, getSeverity, setSeverity
public static final java.lang.String DESIGN_EXCEPTION_SELF_EXTEND
public static final java.lang.String DESIGN_EXCEPTION_CIRCULAR
public CircularExtendsException(org.eclipse.birt.report.model.core.DesignElement obj, java.lang.String name, java.lang.String errCode)
obj
- the element being changed.name
- the value being set for the extends property.errCode
- what went wrong.public CircularExtendsException(org.eclipse.birt.report.model.core.DesignElement obj, org.eclipse.birt.report.model.core.DesignElement parent, java.lang.String errCode)
obj
- the element being changed.parent
- the parent element.errCode
- what went wrong.public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class ExtendsException
Copyright © 2008 Actuate Corp. All rights reserved.