closes the resource and throws the first exception contained in the storage . other exceptions will be added as suppressed . if no error had occurred , no exception will be thrown . concode_field_sep IOException containedException concode_field_sep void addException concode_elem_sep void addException concode_elem_sep void addException
void function ( ) { if ( containedException != null ) { throw containedException ; } }