@Version("1.1.0")
Package aQute.bnd.service.result
-
Interface Summary Interface Description ConsumerWithException<T> Function interface that allows exceptions.FunctionWithException<T,R> Function interface that allows exceptions.Result<V,E> The Result type is an alternative way of chaining together functions in a functional programming style while hiding away error handling structures such as try-catch-blocks and conditionals.
Instead of adding a throws declaration to a function, the return type of the function is instead set to Resultwhere V is the original return type, i.e. -
Class Summary Class Description Err<V,E> This class represents the Err side of @{link Result}.Ok<V,E> This class represents the Ok side of @{link Result}. -
Exception Summary Exception Description ResultException