Example usage for org.apache.commons.collections FunctorException getCause

List of usage examples for org.apache.commons.collections FunctorException getCause

Introduction

In this page you can find the example usage for org.apache.commons.collections FunctorException getCause.

Prototype

public Throwable getCause() 

Source Link

Document

Gets the cause of this throwable.

Usage

From source file:org.pentaho.di.core.util.PluginPropertyHandler.java

/**
 * @param properties/*from  w  w w  .  j a va2  s.c o  m*/
 *          properties.
 * @param handler
 *          handler.
 * @throws KettleException
 *           ...
 * @throws IllegalArgumentException
 *           if properties is null.
 */
public static void walk(final KeyValueSet properties, final Closure handler)
        throws KettleException, IllegalArgumentException {
    assertProperties(properties);
    try {
        properties.walk(handler);
    } catch (FunctorException e) {
        throw (KettleException) e.getCause();
    }
}