Example usage for org.springframework.ide.eclipse.wizard WizardPlugin log

List of usage examples for org.springframework.ide.eclipse.wizard WizardPlugin log

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.wizard WizardPlugin log.

Prototype

public static void log(Throwable exception) 

Source Link

Usage

From source file:org.springframework.ide.eclipse.wizard.gettingstarted.github.auth.BasicAuthCredentials.java

@Override
public void apply(URLConnection conn) {
    try {//from w  ww. j  a  v  a 2 s .c  om
        if (matchHost(conn.getURL().getHost())) {
            conn.setRequestProperty("Authorization", computeAuthString());
        }
    } catch (UnsupportedEncodingException e) {
        //Shouldn't really be possible...
        WizardPlugin.log(e);
    }
}