Code example for InvocationTargetException

Methods: getCause

0
                    } catch (NoSuchMethodException e) {
                        failedToVerifyMasterSecret(e);
                    } catch (IllegalAccessException e) {
                        failedToVerifyMasterSecret(e);
                    } catch (InvocationTargetException e) {
                        failedToVerifyMasterSecret(e.getCause());
                    } 
                } 
            } 
        } 
        return sock;
    } 
     
    private void failedToVerifyMasterSecret(Throwable t) {
        if (log.isDebugEnabled())
            log.debug("Failed to verify the SSL master secret", t);
    } 
 
    private <T extends Throwable> T log(T t) {
        if (log.isDebugEnabled())