|
Isis Developer Reference
|
Go to the documentation of this file.
16 template <
typename T>
class QList;
24 #define _FILEINFO_ Isis::FileName(__FILE__).name().toStdString().c_str(),__LINE__
161 const char *fileName,
int lineNumber);
164 const char *fileName,
int lineNumber);
167 const char *fileName,
int lineNumber);
170 ErrorType newExceptionType,
const char *message,
171 const char *fileName,
int lineNumber);
174 ErrorType newExceptionType,
const std::string &message,
175 const char *fileName,
int lineNumber);
178 ErrorType newExceptionType,
const QString &message,
179 const char *fileName,
int lineNumber);
185 const
char *
what() const throw();
192 void print(
bool printFileInfo) const;
195 QString
toString(
bool printFileInfo) const;
202 static
ErrorType stringToErrorType(const QString &s);
203 char *buildWhat() const;
204 void deleteEmptyMemberStrings();
230 QString * m_fileName;
IException()
The default constructor creates an IException instance with no message, previous exceptions,...
Definition: IException.cpp:40
static QString errorTypeToString(ErrorType t)
Returns the source of the error in string format for the given ErrorType.
Definition: IException.cpp:698
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
void print() const
Prints a string representation of this exception to stderr.
Definition: IException.cpp:445
static void GetStackTrace(const void *)
Definition: IsisDebug.h:121
A single keyword-value pair.
Definition: PvlKeyword.h:82
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
Pvl toPvl() const
Returns a PVL object representing the contents of this exception.
Definition: IException.cpp:475
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
~IException()
The destructor frees memory allocated for the message, filename, and list of previous exceptions.
Definition: IException.cpp:349
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition: IException.cpp:409
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:537
static QString Name()
Returns the name of the application.
Definition: Application.cpp:729
Isis exception class.
Definition: IException.h:91
ErrorType errorType() const
Returns the source of the error for this exception.
Definition: IException.cpp:430
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
void swap(IException &other)
Swaps the values of this instance's member data with other.
Definition: IException.cpp:642
static Preference & Preferences(bool unitTest=false)
Definition: Preference.cpp:86
ErrorType
Contains a set of exception error types.
Definition: IException.h:111
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
IException & operator=(const IException &rhs)
Assign the values of rhs to this instance.
Definition: IException.cpp:659