| 
    Isis 3.0 Programmer Reference
    
   | Home | 
Namespace containing standardized Isis error messages. More...
Functions | |
| QString | ArraySubscriptNotInRange (int index) | 
| This error should be used when an Isis object or application is checking array bounds and the legal range has been violated.  More... | |
| QString | KeywordAmbiguous (const QString &key) | 
| This error should be used when a supplied keyword for an Isis application parameter does not contain enough characters to distinguish it from another keyword.  More... | |
| QString | KeywordUnrecognized (const QString &key) | 
| This error should be used when a supplied keyword for an Isis application parameter does not match any of the parameters for that application.  More... | |
| QString | KeywordDuplicated (const QString &key) | 
| This error should be used when a supplied keyword for an Isis application parameter is the same as one previously supplied.  More... | |
| QString | KeywordNotArray (const QString &key) | 
| This error should be used when a supplied keyword is being used as an array (i.e., with a subscript) but is only a scaler entity.  More... | |
| QString | KeywordNotFound (const QString &key) | 
| This error should be used when a supplied keyword is not defined in the application.  More... | |
| QString | KeywordBlockInvalid (const QString &block) | 
| This error has been deprecated and should not be used in new code.  More... | |
| QString | KeywordBlockStartMissing (const QString &block, const QString &found) | 
| This error has been deprecated and should not be used in new code.  More... | |
| QString | KeywordBlockEndMissing (const QString &block, const QString &found) | 
| This error has been deprecated and should not be used in new code.  More... | |
| QString | KeywordValueBad (const QString &key) | 
| This error should be used when a supplied keyword does not appear in the list (e.g., an Isis cube label).  More... | |
| QString | KeywordValueBad (const QString &key, const QString &value) | 
| This error should be used when the value of a supplied keyword is incorrect.  More... | |
| QString | KeywordValueExpected (const QString &key) | 
| This error should be used when the value of a supplied keyword was expected but not present.  More... | |
| QString | KeywordValueNotInRange (const QString &key, const QString &value, const QString &range) | 
| This error should be used when the value of a supplied keyword is not within a specific range.  More... | |
| QString | KeywordValueNotInList (const QString &key, const QString &value, const std::vector< QString > &list) | 
| This error should be used when the value of a supplied keyword is not one of a specific list of possible values.  More... | |
| QString | MissingDelimiter (const char delimiter) | 
| This error should be used when a delimiter is missing.  More... | |
| QString | MissingDelimiter (const char delimiter, const QString &near) | 
| This error should be used when a delimiter is missing.  More... | |
| QString | FileOpen (const QString &filename) | 
| This error should be used when a file could not be opened.  More... | |
| QString | FileCreate (const QString &filename) | 
| This error should be used when a file could not be created.  More... | |
| QString | FileRead (const QString &filename) | 
| This error should be used when an error accrues during a read of a file.  More... | |
| QString | FileWrite (const QString &filename) | 
| This error should be used when an error accrues during a write to a file.  More... | |
| QString | MemoryAllocationFailed () | 
| This error should be used when an error accrues during a memory allocation such as "new".  More... | |
Namespace containing standardized Isis error messages.
IsisMessage is not a class. It only contains a namespace which consists of all the standardized Isis error messages. These messages should be used when applicable instead of constructing the message string inside the object or application.
| QString Isis::Message::ArraySubscriptNotInRange | ( | int | index | ) | 
This error should be used when an Isis object or application is checking array bounds and the legal range has been violated.
| index | - Array index which is out of bounds | 
Definition at line 31 of file ArraySubscriptNotInRange.cpp.
References Isis::toString().
Referenced by Isis::Buffer::at(), Isis::Histogram::BinCount(), Isis::Histogram::BinMiddle(), Isis::Histogram::BinRange(), Isis::PvlKeyword::comment(), Isis::PvlObject::group(), Isis::Buffer::Index(), Isis::PvlKeyword::isEquivalent(), Isis::PvlKeyword::isNull(), Isis::PvlObject::object(), Isis::PvlContainer::operator[](), Isis::PvlKeyword::operator[](), Isis::PvlKeyword::unit(), Isis::PvlToken::value(), and Isis::PvlToken::valueUpper().
| QString Isis::Message::FileCreate | ( | const QString & | filename | ) | 
This error should be used when a file could not be created.
| filename | - The name of the file | 
Definition at line 28 of file FileCreate.cpp.
Referenced by Isis::Pvl::write().
| QString Isis::Message::FileOpen | ( | const QString & | filename | ) | 
This error should be used when a file could not be opened.
| filename | - The name of the file | 
Definition at line 28 of file FileOpen.cpp.
Referenced by Isis::Pvl::append(), Isis::Application::Application(), Isis::FileList::read(), Isis::Blob::Read(), Isis::Pvl::read(), and Isis::FileList::write().
| QString Isis::Message::FileRead | ( | const QString & | filename | ) | 
This error should be used when an error accrues during a read of a file.
| filename | - The name of the file | 
Definition at line 28 of file FileRead.cpp.
| QString Isis::Message::FileWrite | ( | const QString & | filename | ) | 
This error should be used when an error accrues during a write to a file.
| filename | - The name of the file | 
Definition at line 28 of file FileWrite.cpp.
| QString Isis::Message::KeywordAmbiguous | ( | const QString & | key | ) | 
This error should be used when a supplied keyword for an Isis application parameter does not contain enough characters to distinguish it from another keyword.
| key | - The name of the keyword which is ambiguous | 
Definition at line 28 of file KeywordAmbiguous.cpp.
| QString Isis::Message::KeywordBlockEndMissing | ( | const QString & | block, | 
| const QString & | found | ||
| ) | 
This error has been deprecated and should not be used in new code.
| block | - The name of the block with the missing end tag | 
| found | - The QString found in the place of the missing block end | 
Definition at line 28 of file KeywordBlockEndMissing.cpp.
| QString Isis::Message::KeywordBlockInvalid | ( | const QString & | block | ) | 
This error has been deprecated and should not be used in new code.
| block | - The name of the invalid keyword block | 
Definition at line 28 of file KeywordBlockInvalid.cpp.
| QString Isis::Message::KeywordBlockStartMissing | ( | const QString & | block, | 
| const QString & | found | ||
| ) | 
This error has been deprecated and should not be used in new code.
| block | - The name of the block with the missing start tag | 
| found | - The QString found in the place of the missing block start | 
Definition at line 28 of file KeywordBlockStartMissing.cpp.
| QString Isis::Message::KeywordDuplicated | ( | const QString & | key | ) | 
This error should be used when a supplied keyword for an Isis application parameter is the same as one previously supplied.
| key | - The name of the keyword which has been duplicated | 
Definition at line 28 of file KeywordDuplicated.cpp.
| QString Isis::Message::KeywordNotArray | ( | const QString & | key | ) | 
This error should be used when a supplied keyword is being used as an array (i.e., with a subscript) but is only a scaler entity.
| key | - The name of the keyword which is not an array | 
Definition at line 28 of file KeywordNotArray.cpp.
| QString Isis::Message::KeywordNotFound | ( | const QString & | key | ) | 
This error should be used when a supplied keyword is not defined in the application.
| key | - The name of the keyword which was not found | 
Definition at line 28 of file KeywordNotFound.cpp.
| QString Isis::Message::KeywordUnrecognized | ( | const QString & | key | ) | 
This error should be used when a supplied keyword for an Isis application parameter does not match any of the parameters for that application.
| key | - The name of the keyword which is unrecognized | 
Definition at line 28 of file KeywordUnrecognized.cpp.
| QString Isis::Message::KeywordValueBad | ( | const QString & | key | ) | 
This error should be used when a supplied keyword does not appear in the list (e.g., an Isis cube label).
| key | - The name of the keyword which is bad | 
Definition at line 28 of file KeywordValueBad.cpp.
Referenced by Isis::PvlTokenizer::Load().
| QString Isis::Message::KeywordValueBad | ( | const QString & | key, | 
| const QString & | value | ||
| ) | 
This error should be used when the value of a supplied keyword is incorrect.
| key | - The keyword name which is bad | 
| value | - The value of the keyword which is bad | 
Definition at line 32 of file KeywordValueBad.cpp.
| QString Isis::Message::KeywordValueExpected | ( | const QString & | key | ) | 
This error should be used when the value of a supplied keyword was expected but not present.
| key | - The keyword name which is bad | 
Definition at line 28 of file KeywordValueExpected.cpp.
| QString Isis::Message::KeywordValueNotInList | ( | const QString & | key, | 
| const QString & | value, | ||
| const std::vector< QString > & | list | ||
| ) | 
This error should be used when the value of a supplied keyword is not one of a specific list of possible values.
| key | - The keyword name which has a bad value | 
| value | - The value of the keyword | 
| list | - A vector of all the legal values for the keyword | 
| QString Isis::Message::KeywordValueNotInRange | ( | const QString & | key, | 
| const QString & | value, | ||
| const QString & | range | ||
| ) | 
This error should be used when the value of a supplied keyword is not within a specific range.
| key | - The keyword name which has a bad value | 
| value | - The value of the keyword | 
| range | - The minimum and maximum allowed values for the keyword formatted and inserted into a QString | 
Definition at line 28 of file KeywordValueNotInRange.cpp.
| QString Isis::Message::MemoryAllocationFailed | ( | ) | 
This error should be used when an error accrues during a memory allocation such as "new".
Definition at line 28 of file MemoryAllocationFailed.cpp.
Referenced by Isis::Buffer::Allocate().
| QString Isis::Message::MissingDelimiter | ( | const char | delimiter | ) | 
This error should be used when a delimiter is missing.
| delimiter | - The delimiter that is missing | 
Definition at line 31 of file MissingDelimiter.cpp.
References Isis::toString().
| QString Isis::Message::MissingDelimiter | ( | const char | delimiter, | 
| const QString & | near | ||
| ) | 
This error should be used when a delimiter is missing.
| delimiter | - The delimiter that is missing | 
| near | - The value the missing delimiter is near | 
Definition at line 35 of file MissingDelimiter.cpp.
References Isis::toString().