Example usage for javax.naming ConfigurationException printStackTrace

List of usage examples for javax.naming ConfigurationException printStackTrace

Introduction

In this page you can find the example usage for javax.naming ConfigurationException printStackTrace.

Prototype

public void printStackTrace() 

Source Link

Document

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

Usage

From source file:com.cloud.metadata.ResourceMetaDataManagerTest.java

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);

    try {/*from   www. j  a  v a  2 s . co m*/
        _resourceMetaDataMgr.configure(null, null);
    } catch (ConfigurationException e) {
        e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
    }
    _resourceMetaDataMgr._volumeDetailDao = _volumeDetailDao;
    _resourceMetaDataMgr._taggedResourceMgr = _taggedResourceMgr;
    _resourceMetaDataMgr._nicDetailDao = _nicDetailDao;

}