# Uses of Class
org.eclipse.birt.report.model.api.command.ExtendsException

Packages that use ExtendsException
Package
Description
org.eclipse.birt.report.model.api
Tool-writer's interface for the BIRT design model (also known as the "Design Engine.")
org.eclipse.birt.report.model.api.command
Provides events when some command operations modify the state of the Design Engine.

## Uses of ExtendsException in org.eclipse.birt.report.model.api

Methods in org.eclipse.birt.report.model.api that throw ExtendsException
Modifier and Type
Method
Description
`final void`
ContentElementHandle.`setExtends(DesignElementHandle parent)`
`void`
DesignElementHandle.`setExtends(DesignElementHandle parent)`
Sets this element to extend the given element.
`void`
PrivateStyleHandle.`setExtends(DesignElementHandle parent)`
This method is not defined for private styles.
`void`
DesignElementHandle.`setExtendsElement(org.eclipse.birt.report.model.core.DesignElement parent)`
Deprecated.
by `DesignElementHandle.setExtends(DesignElementHandle)`
`void`
PrivateStyleHandle.`setExtendsElement(org.eclipse.birt.report.model.core.DesignElement parent)`
This method is not defined for private styles.
`final void`
ContentElementHandle.`setExtendsName(String name)`
`void`
DesignElementHandle.`setExtendsName(String name)`
Sets the name of the element that this element extends.
`void`
PrivateStyleHandle.`setExtendsName(String name)`
This method is not defined for private styles.

## Uses of ExtendsException in org.eclipse.birt.report.model.api.command

Subclasses of ExtendsException in org.eclipse.birt.report.model.api.command
Modifier and Type
Class
Description
`class`
`CircularExtendsException`
An error indicates circular extension while setting the extends property of an element.
`class`
`ExtendsForbiddenException`
An error indicates not supported extension while setting the extends property of an element.
`class`
`InvalidParentException`
An error indicates invalid parent while setting the extends property of an element.
`class`
`WrongTypeException`
An error indicates wrong type while setting the extends property of an element.