BufferedInputStream bufferedInputStream = new BufferedInputStream(fileInputStream);
_bytesWritten += AWUtil.streamCopy(bufferedInputStream, outputStream);
bufferedInputStream.close();
}
catch (FileNotFoundException fileNotFoundException) {
throw new AWGenericException(fileNotFoundException);
}
catch (IOException ioexception) {
throw new AWGenericException(ioexception);
}
}
else if (_inputStream != null) {
_bytesWritten += AWUtil.streamCopy(_inputStream, outputStream);
_inputStream.close();