Browse Source

renamed boost_ex to asio_ex to be aligned with the migration to non boost asio.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1970 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
d8ca5bcb11
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/lib/cc/session.cc

+ 4 - 4
src/lib/cc/session.cc

@@ -110,8 +110,8 @@ void
 ASIOSession::writeData(const void* data, size_t datalen) {
     try {
         asio::write(socket_, asio::buffer(data, datalen));
-    } catch (const asio::system_error& boost_ex) {
-        isc_throw(SessionError, "ASIO write failed: " << boost_ex.what());
+    } catch (const asio::system_error& asio_ex) {
+        isc_throw(SessionError, "ASIO write failed: " << asio_ex.what());
     }
 }
 
@@ -135,10 +135,10 @@ void
 ASIOSession::readData(void* data, size_t datalen) {
     try {
         asio::read(socket_, asio::buffer(data, datalen));
-    } catch (const asio::system_error& boost_ex) {
+    } catch (const asio::system_error& asio_ex) {
         // to hide boost specific exceptions, we catch them explicitly
         // and convert it to SessionError.
-        isc_throw(SessionError, "ASIO read failed: " << boost_ex.what());
+        isc_throw(SessionError, "ASIO read failed: " << asio_ex.what());
     }
 }