Example usage for java.lang.instrument UnmodifiableClassException printStackTrace

List of usage examples for java.lang.instrument UnmodifiableClassException printStackTrace

Introduction

In this page you can find the example usage for java.lang.instrument UnmodifiableClassException printStackTrace.

Prototype

public void printStackTrace() 

Source Link

Document

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

Usage

From source file:com.vaadin.s4v.SpringIntegrator.java

public synchronized static void integrateVaadinWithSpring() {
    if (!integrated) {
        JillegalAgent.getInstrumentation().addTransformer(new VaadinComponentClassTransformer(), true);
        try {//from   w  w  w  .  j  av a2s . c  om
            JillegalAgent.getInstrumentation().retransformClasses(AbstractComponent.class);

            integrated = true;
        } catch (UnmodifiableClassException e) {
            e.printStackTrace();
        }
    }
}