Class MultipleAppException

All Implemented Interfaces:
Serializable

public class MultipleAppException extends AppException
Conveys multiple SingleAppExceptions at once.

This has a list of SingleAppException inside and by throwing MultipleAppException multiple error messages can be shown on screen in web apps.

See Also:
  • Constructor Details

    • MultipleAppException

      public MultipleAppException(@Nonnull List<? extends SingleAppException> list)
      Constructs a new instance with a list of AppException.
      Parameters:
      list - a list of AppException. size() cannot be zero.
    • MultipleAppException

      public MultipleAppException(@Nonnull MultipleAppException ex)
      Constructs a new instance with MultipleAppException.
      Parameters:
      ex - NultipleAppException
  • Method Details