ActualExceptions

public final class ActualExceptions(source)

A collection of methods for building actual exceptions.

Author

Dustin Glaser

Functions

Link copied to clipboard
public static ActualException<T> noException<T extends Throwable>()
Returns a behavior where no exception was thrown.
Link copied to clipboard
public static ActualException<T> unexpectedException<T extends Throwable>()
Returns a behavior where an unexpected exception was thrown.