Here you can find the source of invokeQuietly(MethodHandle handle, Object instance)
public static void invokeQuietly(MethodHandle handle, Object instance)
//package com.java2s; //License from project: Open Source License import java.lang.invoke.MethodHandle; public class Main { public static void invokeQuietly(MethodHandle handle, Object instance) { try {//from w w w. j a va 2 s . c om handle.invoke(instance); } catch (Throwable e) { e.printStackTrace(); } } }