Class MultiRuntimeException

All Implemented Interfaces:
Serializable

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.
Since:
1.9.0
See Also:
  • Method Details

    • getThrowables

      public List<? extends Throwable> getThrowables()
      Returns the list of throwables that are wrapped in this exception.
      Returns:
      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: