Example usage for java.security KeyException printStackTrace

List of usage examples for java.security KeyException printStackTrace

Introduction

In this page you can find the example usage for java.security KeyException printStackTrace.

Prototype

public void printStackTrace() 

Source Link

Document

Prints this throwable and its backtrace to the standard error stream.

Usage

From source file:com.trustly.api.SignedAPI.java

public void init(String privateKeyPath, String keyPassword, String username, String password,
        boolean testEnvironment) {
    setEnvironment(testEnvironment);//from   w  w w  . jav  a2 s. c  o m
    try {
        signatureHandler.init(privateKeyPath, keyPassword, username, password, testEnvironment);
    } catch (KeyException e) {
        e.printStackTrace();
    }
}