[Ruby 2.0.0] update asserts for new exception class. hat tip @drbrain

There might be a better way to DRY this up, but this will work for now.
Fixes the ruby 2.0 test issue reported in https://github.com/bluemonk/net-dns/pull/53