Package gov.nasa.pds.tools.label
Class ExceptionContainer
java.lang.Object
gov.nasa.pds.tools.label.ExceptionContainer
- All Implemented Interfaces:
ExceptionHandler
Implements an exception handler that retains the exceptions in memory.
- Author:
- pramirez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(LabelException exception) Reports an exception encountered during label validation.voidclear()hasError()hasFatal()
-
Constructor Details
-
ExceptionContainer
public ExceptionContainer()
-
-
Method Details
-
clear
public void clear() -
getExceptions
-
addException
Description copied from interface:ExceptionHandlerReports an exception encountered during label validation.- Specified by:
addExceptionin interfaceExceptionHandler- Parameters:
exception- the exception encountered
-
hasWarning
-
hasError
-
hasFatal
-