Example usage for org.springframework.beans.factory BeanCreationNotAllowedException getMessage

List of usage examples for org.springframework.beans.factory BeanCreationNotAllowedException getMessage

Introduction

In this page you can find the example usage for org.springframework.beans.factory BeanCreationNotAllowedException getMessage.

Prototype

@Override
@Nullable
public String getMessage() 

Source Link

Document

Return the detail message, including the message from the nested exception if there is one.

Usage

From source file:org.kuali.rice.test.RiceTestCase.java

@Override
@After//from   www .  j a va 2s.c o  m
public void tearDown() throws Exception {
    // wait for outstanding threads to complete for 1 minute
    ThreadMonitor.tearDown(60000);
    try {
        stopLifecycles(this.perTestLifeCycles);
        // Avoid failing test for creation of bean in destroy.
    } catch (BeanCreationNotAllowedException bcnae) {
        LOG.warn("BeanCreationNotAllowedException during stopLifecycles during tearDown " + bcnae.getMessage());
    }
    testEnd = System.currentTimeMillis();
    report("Total time to run test: " + (testEnd - testStart));
    logAfterRun();
}