public class ExceptionContainer extends java.lang.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() |
java.util.List<LabelException> |
getExceptions() |
java.lang.Boolean |
hasError() |
java.lang.Boolean |
hasFatal() |
java.lang.Boolean |
hasWarning() |
public void clear()
public java.util.List<LabelException> getExceptions()
public void addException(LabelException exception)
ExceptionHandler
addException
in interface ExceptionHandler
exception
- the exception encounteredpublic java.lang.Boolean hasWarning()
public java.lang.Boolean hasError()
public java.lang.Boolean hasFatal()
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.