Class CompoundException

    • Constructor Detail

      • CompoundException

        public CompoundException​(Collection<Throwable> why)
        Constructs an exception detailing many potential reasons for failure.
        Parameters:
        why - Two or more exceptions that may have been the problem.
    • Method Detail

      • getAllCauses

        public List<Throwable> getAllCauses()
        Get the complete list of reasons why this failure happened.
        Returns:
        unmodifiable collection of all possible reasons.