diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-09-29 12:04:45 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2015-09-29 12:30:28 +0300 |
commit | 992a92a751315c17a0bef213ecede40b5c757f8f (patch) | |
tree | 499f148bb57b740d35f1d5bb55008f369e42341f | |
parent | 6e337896d8912251a23c16765b265e3e26c176f9 (diff) |
Proper exception string to DrmObject::get_prop_value()
-rw-r--r-- | libkms++/drmobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/drmobject.cpp b/libkms++/drmobject.cpp index ea5d594..a79370f 100644 --- a/libkms++/drmobject.cpp +++ b/libkms++/drmobject.cpp @@ -64,6 +64,6 @@ uint64_t DrmObject::get_prop_value(const char *name) const return m_prop_values.at(prop->id()); } - throw invalid_argument("foo"); + throw invalid_argument((string(name) + ": property not found").c_str()); } } |