Change-Id: Ib0ac31a52a4ceb58b931426ea76745e4467b74f1
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1294
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
}
catch (const boost::bad_get&)
{
- throw BadGetException{ "" };
+ throw BadGetException{ "Wrong type" };
}
}
}
catch (const std::out_of_range&)
{
- throw InvalidKeyException{ "" };
+ throw InvalidKeyException{ "No attribute named '" + key + "'" };
}
}
}
catch (const std::out_of_range&)
{
- throw InvalidKeyException{ "" };
+ throw InvalidKeyException{ "No attribute named '" + key + "'" };
}
}