Class AdminException

    • Method Detail

      • hasMultiple

        public boolean hasMultiple()
        Determine whether this exception is representing mutliple component failures.
        Returns:
        true iff this exception contains multiple component failure exceptions.
        Since:
        4.3
      • getChildren

        public List<AdminException> getChildren()
        Returns a non-null list of failures (AdminExceptions), one for each component that failed.

        The list will have members when hasMultiple() returns true.

        Returns:
        The non-null list of failures.
        Since:
        4.3
      • addChild

        public void addChild​(AdminException child)
        Add a child AdminException for a particular failure if and action resulted in multiple failures.
        Parameters:
        child - a specific failure
        Since:
        4.3