Throw X::Method::NotFound on JVM.