The IDL3 parser has a problem with the home factory
method exceptions. The following IDL code:
exception can_not_create {};
component Hello
{
attribute string id;
};
home HelloHome manages Hello
{
factory create_with_exception(in string id)
raises (can_not_create);
};
Leads to the following parser error:
Error parsing Hello.idl:
java.lang.RuntimeException: Errors during parsing:
java.lang.ClassCastException:
ccmtools.Metamodel.BaseIDL.MExceptionDefImpl
The example is stored in the test/idl/home_exception
directory.