Skip to content

Commit

Permalink
Add more information to an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelewis committed Sep 10, 2015
1 parent ed6dfee commit 8d80c75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ void cath::score::add_score_classn_value_list_and_add_missing(score_classn_value
str_set cath::score::get_sorted_instance_labels(const score_classn_value_results_set &arg_results_set ///< TODOCUMENT
) {
if ( arg_results_set.empty() ) {
BOOST_THROW_EXCEPTION(invalid_argument_exception(""));
BOOST_THROW_EXCEPTION(invalid_argument_exception("Cannot get sorted instance labels of an empty score_classn_value_results_set"));
}
return get_sorted_instance_labels( front( arg_results_set ) );
}
Expand Down

0 comments on commit 8d80c75

Please sign in to comment.