Class MultiRuntimeException

All Implemented Interfaces:

public final class MultiRuntimeException extends RuntimeException
Runtime exception to be thrown when multiple actions were executed and one or more failed. To be used when no fallback on resolver side is needed or is possible.
See Also:
  • Method Details

    • getThrowables

      public List<? extends Throwable> getThrowables()
      Returns the list of throwables that are wrapped in this exception.
      The list of throwables, never null.
    • mayThrow

      public static void mayThrow(String message, List<? extends Throwable> throwables)
      Helper method that receives a (non-null) message and (non-null) list of throwable, and following happens: