30 template <
typename T>
class QList;
38 #define _FILEINFO_ __FILE__,__LINE__
169 const char *fileName,
int lineNumber);
172 const char *fileName,
int lineNumber);
175 const char *fileName,
int lineNumber);
178 ErrorType newExceptionType,
const char *message,
179 const char *fileName,
int lineNumber);
182 ErrorType newExceptionType,
const std::string &message,
183 const char *fileName,
int lineNumber);
186 ErrorType newExceptionType,
const QString &message,
187 const char *fileName,
int lineNumber);
193 const
char *
what() const throw();
199 void print(
bool printFileInfo) const;
202 QString
toString(
bool printFileInfo) const;
209 static QString errorTypeToString(
ErrorType t);
210 static
ErrorType stringToErrorType(const QString &s);
211 char *buildWhat() const;
212 void deleteEmptyMemberStrings();
238 QString * m_fileName;
Pvl toPvl() const
Returns a PVL object representing the contents of this exception.
Definition: IException.cpp:491
~IException()
The destructor frees memory allocated for the message, filename, and list of previous exceptions...
Definition: IException.cpp:365
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition: IException.cpp:425
ErrorType errorType() const
Returns the source of the error for this exception.
Definition: IException.cpp:446
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:154
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:163
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:391
void print() const
Prints a string representation of this exception to stderr.
Definition: IException.cpp:461
A type of error that could only have occurred due to a mistake on the user's part (e...
Definition: IException.h:134
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:126
IException()
The default constructor creates an IException instance with no message, previous exceptions, or file info.
Definition: IException.cpp:56
Container for cube-like labels.
Definition: Pvl.h:135
void swap(IException &other)
Swaps the values of this instance's member data with other.
Definition: IException.cpp:658
ErrorType
Contains a set of exception error types.
Definition: IException.h:119
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:553
Isis exception class.
Definition: IException.h:99
Definition: BoxcarCachingAlgorithm.h:29