Handle correct exception type while reading IoBuffer output

readLine function (currently only implemented in Swift_Transport_StreamBuffer) throws Swift_IoException that is unhandled so it bubbles up outside SwiftMailer.

I use FailoverTransport and its not working as expected unless this fix is applied.

Fixes #294
Handle Swift_TransportException along with Swift_IoException
merged branch sbacelic/patch-1 (PR #324)

This PR was merged into the master branch.

Discussion
----------

Handle correct exception type while reading IoBuffer output

readLine function (currently only implemented in Swift_Transport_StreamBuffer) throws Swift_IoException that is unhandled so it bubbles up outside SwiftMailer.

I use FailoverTransport and its not working as expected unless this fix is applied.

Fixes #294

Commits
-------

974afa9 Handle Swift_TransportException along with Swift_IoException
1c93db0 Handle correct exception type while reading IoBuffer output