throw new CompositeException( (Exception[]) buffer.toArray( new Exception[0] ), "unable to instantiate one or more components" );
throw new CompositeException( (Exception[]) buffer.toArray( new Exception[0] ), "unable to instantiate one or more components" );