Bug 138562 Splite extendsexcpetion to seperate sub class
The suggestion is Parent invalid Cycle extends Different type extends Not top level extends
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ReportElementState.java
* Add the element name into the module namespace.
	 * 
	 * @param element
	 *            the element.
	 */
	private void addToNamespace( DesignElement content )
	{
		String name = content.getName( );
		ElementDefn contentDefn = (ElementDefn) content.getDefn( );
		assert !StringUtil.isBlank( name )
				|| contentDefn.getNameOption( ) != MetaDataConstants.REQUIRED_NAME;
		
		Module module = handler.getModule( );
		if ( name == null
				&& contentDefn.getNameOption( ) == MetaDataConstants.REQUIRED_NAME )
		{
			handler.getErrorHandler( ).semanticError(
					new NameException( container, name,
							NameException.DESIGN_EXCEPTION_NAME_REQUIRED ) );
			return;
		}
		int id = contentDefn.getNameSpaceID( );
		if ( name != null && id != MetaDataConstants.NO_NAME_SPACE
				&& container.isManagedByNameSpace( slotID ) )
		{
			NameSpace ns = module.getNameSpace( id );
			if ( module.getNameSpace( id ).contains( name ) )
			{
				handler.getErrorHandler( ).semanticError(
						new NameException( container, name,