null, details.function, language, ScriptFrameworkErrorType.NO_SUCH_SCRIPT );
}
catch ( com.sun.star.lang.WrappedTargetException wta )
{
// TODO specify the correct error Type
Exception wrapped = (Exception)wta.TargetException;
String message = wta.getMessage();
if ( wrapped != null )
{
message = wrapped.getMessage();
}
throw new ScriptFrameworkErrorException( message,
null, details.function, language, ScriptFrameworkErrorType.UNKNOWN );
}