Example usage for javax.net.ssl SSLException getStackTrace

List of usage examples for javax.net.ssl SSLException getStackTrace

Introduction

In this page you can find the example usage for javax.net.ssl SSLException getStackTrace.

Prototype

public StackTraceElement[] getStackTrace() 

Source Link

Document

Provides programmatic access to the stack trace information printed by #printStackTrace() .

Usage

From source file:org.wso2.esb.integration.common.utils.clients.Http2Client.java

public void createSSLContext(TrustManagerFactory trustManager) {
    try {/*from   ww w  .ja  v  a  2 s .c  om*/
        sslContext = generateSSLContext(trustManager);
        SSL = true;
    } catch (SSLException e) {
        log.error(e.getStackTrace());
    }
}