Class CircularExtendsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CircularExtendsException
    extends ExtendsException
    An error indicates circular extension while setting the extends property of an element.
    See Also:
    Serialized Form
    • Field Detail

      • DESIGN_EXCEPTION_SELF_EXTEND

        public static final java.lang.String DESIGN_EXCEPTION_SELF_EXTEND
        The element cannot extend from itself.
        See Also:
        Constant Field Values
      • DESIGN_EXCEPTION_CIRCULAR

        public static final java.lang.String DESIGN_EXCEPTION_CIRCULAR
        The extension would create a cycle: a extends b extends a.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CircularExtendsException

        public CircularExtendsException​(org.eclipse.birt.report.model.core.DesignElement obj,
                                        java.lang.String name,
                                        java.lang.String errCode)
        Constructor.
        Parameters:
        obj - the element being changed.
        name - the value being set for the extends property.
        errCode - what went wrong.
      • CircularExtendsException

        public CircularExtendsException​(org.eclipse.birt.report.model.core.DesignElement obj,
                                        org.eclipse.birt.report.model.core.DesignElement parent,
                                        java.lang.String errCode)
        Constructor.
        Parameters:
        obj - the element being changed.
        parent - the parent element.
        errCode - what went wrong.