Class ExceptionContainer

java.lang.Object
gov.nasa.pds.tools.label.ExceptionContainer
All Implemented Interfaces:
ExceptionHandler

public class ExceptionContainer
extends Object
implements ExceptionHandler
Implements an exception handler that retains the exceptions in memory.
Author:
pramirez
  • Constructor Details

    • ExceptionContainer

      public ExceptionContainer()
  • Method Details

    • clear

      public void clear()
    • getExceptions

      public List<LabelException> getExceptions()
    • addException

      public void addException​(LabelException exception)
      Description copied from interface: ExceptionHandler
      Reports an exception encountered during label validation.
      Specified by:
      addException in interface ExceptionHandler
      Parameters:
      exception - the exception encountered
    • hasWarning

      public Boolean hasWarning()
    • hasError

      public Boolean hasError()
    • hasFatal

      public Boolean hasFatal()