public class ExceptionContainer extends Object implements ExceptionHandler
Constructor and Description |
---|
ExceptionContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addException(LabelException exception)
Reports an exception encountered during label validation.
|
void |
clear() |
List<LabelException> |
getExceptions() |
Boolean |
hasError() |
Boolean |
hasFatal() |
Boolean |
hasWarning() |
public void clear()
public List<LabelException> getExceptions()
public void addException(LabelException exception)
ExceptionHandler
addException
in interface ExceptionHandler
exception
- the exception encounteredpublic Boolean hasWarning()
public Boolean hasError()
public Boolean hasFatal()
Copyright © 2010–2018 Planetary Data System. All rights reserved.