Java 类org.apache.commons.collections.FunctorException 实例源码

项目:read-open-source-code    文件:PluginPropertyHandler.java   
/**
 * {@inheritDoc}
 * 
 * @see org.apache.commons.collections.Closure#execute(java.lang.Object)
 * @throws IllegalArgumentException
 *             if property is null.
 * @throws FunctorException
 *             if KettleException in handle thrown.
 */
public final void execute(final Object property) throws IllegalArgumentException, FunctorException {
    Assert.assertNotNull(property, "Plugin property cannot be null");
    try {
        this.handle((PluginProperty) property);
    } catch (KettleException e) {
        throw new FunctorException("EXCEPTION: " + this, e);
    }
}
项目:read-open-source-code    文件:PluginPropertyHandler.java   
/**
 * @param properties
 *            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();
    }
}
项目:kettle-4.4.0-stable    文件:PluginPropertyHandler.java   
/**
 * {@inheritDoc}
 * 
 * @see org.apache.commons.collections.Closure#execute(java.lang.Object)
 * @throws IllegalArgumentException
 *             if property is null.
 * @throws FunctorException
 *             if KettleException in handle thrown.
 */
public final void execute(final Object property) throws IllegalArgumentException, FunctorException {
    Assert.assertNotNull(property, "Plugin property cannot be null");
    try {
        this.handle((PluginProperty) property);
    } catch (KettleException e) {
        throw new FunctorException("EXCEPTION: " + this, e);
    }
}
项目:kettle-4.4.0-stable    文件:PluginPropertyHandler.java   
/**
 * @param properties
 *            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();
    }
}
项目:kettle-trunk    文件:PluginPropertyHandler.java   
/**
 * {@inheritDoc}
 * 
 * @see org.apache.commons.collections.Closure#execute(java.lang.Object)
 * @throws IllegalArgumentException
 *             if property is null.
 * @throws FunctorException
 *             if KettleException in handle thrown.
 */
public final void execute(final Object property) throws IllegalArgumentException, FunctorException {
    Assert.assertNotNull(property, "Plugin property cannot be null");
    try {
        this.handle((PluginProperty) property);
    } catch (KettleException e) {
        throw new FunctorException("EXCEPTION: " + this, e);
    }
}
项目:kettle-trunk    文件:PluginPropertyHandler.java   
/**
 * @param properties
 *            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();
    }
}
项目:pentaho-kettle    文件:PluginPropertyHandler.java   
/**
 * {@inheritDoc}
 *
 * @see org.apache.commons.collections.Closure#execute(java.lang.Object)
 * @throws IllegalArgumentException
 *           if property is null.
 * @throws FunctorException
 *           if KettleException in handle thrown.
 */
public final void execute( final Object property ) throws IllegalArgumentException, FunctorException {
  Assert.assertNotNull( property, "Plugin property cannot be null" );
  try {
    this.handle( (PluginProperty) property );
  } catch ( KettleException e ) {
    throw new FunctorException( "EXCEPTION: " + this, e );
  }
}
项目:pentaho-kettle    文件:PluginPropertyHandler.java   
/**
 * @param properties
 *          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();
  }
}