code: def py_func_java_throw_exception():
      f = ray.cross_language.java_function(
          "io.ray.test.CrossLanguageInvocationTest", "throwException"
      )
      r = f.remote()
      return ray.get(r)
  
imports: import asyncio
  import ray
label_desc: Use image node_id 8 for calling a global function with example usage: py_func_java_throw_exception() and returns: ray