ProteinListWrapper(const ProteinListPtr& inner) : inner_(inner) { if (!inner.get()) throw std::runtime_error("[ProteinListWrapper] Null ProteinListPtr."); }
Impl(ProteinListPtr original, PredicatePtr predicate) : original(original), predicate(predicate) { if (!original.get()) throw runtime_error("[ProteinList_DecoyGenerator] Null pointer"); }