diff options
author | lloyd <[email protected]> | 2007-10-03 14:18:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-03 14:18:22 +0000 |
commit | 962d7971b2d1ad2a0ebe7033d00af5291763bd7a (patch) | |
tree | f030c5d9554ba04adcf09d9470c976f6250acad0 | |
parent | 72cd1229798d60e44600820dd2ab3ad169a72b17 (diff) | |
parent | 9af598c2f3e1c5b8c59e770d33903c8bb26d170e (diff) |
merge of '47a5010fef7cfb037831ae7db581e20ad8ec5b03'
and 'fbf3d94a0adf58cf44bd52a391f647b9ea49a5ba'
-rw-r--r-- | src/dl_group.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dl_group.cpp b/src/dl_group.cpp index 9d50458dd..1b52102db 100644 --- a/src/dl_group.cpp +++ b/src/dl_group.cpp @@ -28,7 +28,12 @@ DL_Group::DL_Group() *************************************************/ DL_Group::DL_Group(const std::string& type) { - DataSource_Memory pem(global_config().get("dl", type)); + std::string grp_contents = global_config().get("dl", type); + + if(grp_contents == "") + throw Invalid_Argument("DL_Group: Unknown group " + type); + + DataSource_Memory pem(grp_contents); PEM_decode(pem); } |