#include "gn/gnDefs.h"
#include <string>
Go to the source code of this file.
Compounds | |
class | gnExceptionCode |
Defines | |
#define | CREATE_EXCEPTION(E_NAME) |
Functions | |
GNDLLEXPORT uint32& | GetNewExceptionCode () |
gnExceptionCode& | IndexOutOfBounds () |
Thrown when a generic array index is too large or otherwise invalid. More... | |
gnExceptionCode& | SeqIndexOutOfBounds () |
Thrown when a sequence index references an invalid coordinate. More... | |
gnExceptionCode& | FragmentIndexOutOfBounds () |
Thrown when a fragment index references an invalid fragment. More... | |
gnExceptionCode& | ContigIndexOutOfBounds () |
Thrown when a contig index references an invalid contig. More... | |
gnExceptionCode& | HeaderIndexOutOfBounds () |
Thrown when a header index references an invalid header. More... | |
gnExceptionCode& | SpecIndexOutOfBounds () |
Thrown when a spec index references an invalid spec. More... | |
gnExceptionCode& | FeatureIndexOutOfBounds () |
Thrown when a feature index references an invalid feature. More... | |
gnExceptionCode& | FileNotOpened () |
Thrown when a file can't be opened. More... | |
gnExceptionCode& | URLNotFound () |
Thrown when a URL can't be opened. More... | |
gnExceptionCode& | FileUnreadable () |
Thrown when a file's data is corrupt or unreadable. More... | |
gnExceptionCode& | IOStreamFailed () |
Thrown when an operation on a stream fails. More... | |
gnExceptionCode& | NullPointer () |
Thrown when an invalid pointer is given. More... |
|
Value: inline \ static gnExceptionCode& E_NAME(){ \ static gnExceptionCode* m_excp = new gnExceptionCode(GetNewExceptionCode(), #E_NAME); \ return *m_excp; \ } Definition at line 54 of file gnExceptionCode.h. |
|
Thrown when a contig index references an invalid contig.
Definition at line 79 of file gnExceptionCode.h. Referenced by gnFragmentSpec::GetSpec(), and gnFragmentSpec::RemoveSpec().
|
|
Thrown when a feature index references an invalid feature.
Definition at line 91 of file gnExceptionCode.h. Referenced by gnGenomeSpec::GetFeature(), gnGenomeSpec::RemoveFeature(), and gnFragmentSpec::RemoveFeature().
|
|
Thrown when a file can't be opened.
Definition at line 95 of file gnExceptionCode.h. Referenced by gnSourceFactory::AddSource(), gnFileSource::Open(), and gnFASSource::Write().
|
|
Thrown when a file's data is corrupt or unreadable.
Definition at line 103 of file gnExceptionCode.h. |
|
Thrown when a fragment index references an invalid fragment.
Definition at line 75 of file gnExceptionCode.h. Referenced by gnGenomeSpec::GetSpec(), and gnGenomeSpec::MergeFragments().
|
|
Definition at line 42 of file gnExceptionCode.h. |
|
Thrown when a header index references an invalid header.
Definition at line 83 of file gnExceptionCode.h. Referenced by gnMultiSpec::GetHeader(), and gnMultiSpec::RemoveHeader().
|
|
Thrown when an operation on a stream fails.
Definition at line 107 of file gnExceptionCode.h. Referenced by gnFileSource::Close().
|
|
Thrown when a generic array index is too large or otherwise invalid.
Definition at line 67 of file gnExceptionCode.h. Referenced by gnSourceFactory::DelSource().
|
|
Thrown when an invalid pointer is given.
Definition at line 111 of file gnExceptionCode.h. Referenced by gnFileSource::SetFilter().
|
|
Thrown when a sequence index references an invalid coordinate.
Definition at line 71 of file gnExceptionCode.h. Referenced by gnGenomeSpec::AddFeature(), gnMultiSpec::GetSpecIndexByBase(), gnMultiSpec::SeqRead(), gnSequence::erase(), gnSequence::insert(), gnSequence::localToGlobal(), gnSequence::splitContig(), and gnSequence::subseq().
|
|
Thrown when a spec index references an invalid spec.
Definition at line 87 of file gnExceptionCode.h. Referenced by gnMultiSpec::GetSpecEndBase(), gnMultiSpec::GetSpecIndexByName(), gnMultiSpec::GetSpecStartBase(), and gnMultiSpec::SeqRead().
|
|
Thrown when a URL can't be opened.
Definition at line 99 of file gnExceptionCode.h. |