Class ChannelSuppliers.ChannelSupplierOfException<T>

java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelSupplier<T>
io.activej.csp.ChannelSuppliers.ChannelSupplierOfException<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>
Enclosing class:
ChannelSuppliers

public static final class ChannelSuppliers.ChannelSupplierOfException<T> extends AbstractChannelSupplier<T>
Represents a ChannelSupplier which always returns a promise of exception.
  • Constructor Details

    • ChannelSupplierOfException

      public ChannelSupplierOfException(Exception e)
  • Method Details