Exception#== should return true if the two exceptions inherit from Exception but have different classes