gov.llnl.babel

Class CollectionException


public class CollectionException
extends Exception

When parsing a collection of files, it is better to collect all the exceptions until the end instead of bailing out on the first exception. This exception class holds a collection of other exceptions.

Nested Class Summary

static class
CollectionException.UriExceptionPair
This struct exists to hold the (uri, exception) pair that makes up each element of the collection.

Constructor Summary

CollectionException(String uri, Exception ex)

Method Summary

void
addException(String uri, Exception ex)
String
getMessage()

Constructor Details

CollectionException

public CollectionException(String uri,
                           Exception ex)

Method Details

addException

public void addException(String uri,
                         Exception ex)

getMessage

public String getMessage()