java.lang.Object
net.morimekta.config.ConfigExceptionBuffer
A small utility buffer class for accumulating exceptions and passing as
a config exception if any happens.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThrow the accumulated exception, if it has an exception.voidAdd exception to the buffer.
-
Constructor Details
-
ConfigExceptionBuffer
public ConfigExceptionBuffer()
-
-
Method Details
-
update
Add exception to the buffer.- Parameters:
e- Exception to add.
-
throwIfPresent
Throw the accumulated exception, if it has an exception.- Throws:
ConfigException- The accumulated exception if present.
-