Class ConfigExceptionBuffer


  • public class ConfigExceptionBuffer
    extends Object
    A small utility buffer class for accumulating exceptions and passing as a config exception if any happens.
    • Constructor Detail

      • ConfigExceptionBuffer

        public ConfigExceptionBuffer()
    • Method Detail

      • update

        public void update​(Exception e)
        Add exception to the buffer.
        Parameters:
        e - Exception to add.
      • throwIfPresent

        public void throwIfPresent()
                            throws ConfigException
        Throw the accumulated exception, if it has an exception.
        Throws:
        ConfigException - The accumulated exception if present.