5 #ifndef BPP_SEQ_CONTAINER_SEQUENCECONTAINEREXCEPTIONS_H
6 #define BPP_SEQ_CONTAINER_SEQUENCECONTAINEREXCEPTIONS_H
13 class SequencedValuesContainer;
35 Exception(
"SequenceNotFoundException: " + std::string(text) +
"(" + seqId +
")"),
45 Exception(
"SequenceNotFoundException: " + text +
"(" + seqId +
")"),
80 Exception(
"EmptyContainerException: " + text),
88 Exception::operator=(ece);
Exception thrown when an empty container is found.
const SequencedValuesContainer * container_
The empty container.
EmptyContainerException(const std::string &text, const SequencedValuesContainer *container)
Build a new EmptyContainerException object.
EmptyContainerException & operator=(const EmptyContainerException &ece)
virtual ~EmptyContainerException()
EmptyContainerException(const EmptyContainerException &ece)
virtual const SequencedValuesContainer * getContainer() const
Exception thrown when a sequence is not found The sequence not found exception base class.
virtual ~SequenceNotFoundException()
virtual const std::string getSequenceId() const
Get the id of the sequence that was to be found.
SequenceNotFoundException(const char *text, const char *seqId="")
Build a new SequenceNotFoundException object.
SequenceNotFoundException(const std::string &text, const std::string &seqId="")
Build a new SequenceNotFoundException object.
const std::string id
The id of the sequence that was to be found.
This alphabet is used to deal NumericAlphabet.