Class GridClosureException

  • All Implemented Interfaces:
    Serializable

    public class GridClosureException
    extends IgniteException
    This exception provides closures with facility to throw exceptions. Closures can't throw checked exception and this class provides a standard idiom on how to wrap and pass an exception up the call chain.
    See Also:
    GridFunc.wrap(Throwable), Serialized Form
    • Constructor Detail

      • GridClosureException

        public GridClosureException​(Throwable e)
        Creates wrapper closure exception for given IgniteCheckedException.
        Parameters:
        e - Exception to wrap.