ExceptionHandlingIterable (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.helpers.collection

## Class ExceptionHandlingIterable<T>

- java.lang.Object
- - org.neo4j.helpers.collection.ExceptionHandlingIterable<T>

- Type Parameters:
    `T` -
  All Implemented Interfaces:
    Iterable<T>

      public class ExceptionHandlingIterable<T>
      extends Object
      implements Iterable<T>

  allows to catch, analyze and react on exceptions that are thrown by the delegate iterable useful for exception conversion on iterator methods Uses sun.misc.Unsafe internally to rethrow original exceptions !

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExceptionHandlingIterable(Iterable<T> source)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<T>` | `iterator()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExceptionHandlingIterable

          public ExceptionHandlingIterable(Iterable<T> source)

  - ### Method Detail

    - #### iterator

          public Iterator<T> iterator()

      Specified by:
        `iterator` in interface `Iterable<T>`

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.