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/api/ElementFactory.java
if ( elemDefn == null )
		{
			return newExtensionElement( elementTypeName, name );
		}
		String javaClass = elemDefn.getJavaClass( );
		if ( javaClass == null )
			return null;
		try
		{
			Class c = Class.forName( javaClass );
			DesignElement element = null;
			try
			{
				Constructor constructor = c
						.getConstructor( new Class[]{String.class} );
				element = (DesignElement) constructor
						.newInstance( new String[]{name} );
				module.makeUniqueName( element );
				return element.getHandle( module );
			}
			catch ( NoSuchMethodException e1 )
			{
				element = (DesignElement) c.newInstance( );
				return element.getHandle( module );
			}
		}
		catch ( Exception e )
		{
			
			assert false;