16template <
typename T>
class QList;
24#define _FILEINFO_ Isis::FileName(__FILE__).name().toStdString().c_str(),__LINE__
160 IException(ErrorType type,
const char *message,
161 const char *fileName,
int lineNumber);
163 IException(ErrorType type,
const std::string &message,
164 const char *fileName,
int lineNumber);
166 IException(ErrorType type,
const QString &message,
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();
219 ErrorType m_errorType;
230 QString * m_fileName;
Isis exception class.
Definition IException.h:91
ErrorType
Contains a set of exception error types.
Definition IException.h:111
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition IException.h:118
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition IException.h:126
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition IException.h:146
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition IException.h:155
IException()
The default constructor creates an IException instance with no message, previous exceptions,...
Definition IException.cpp:38
static QString errorTypeToString(ErrorType t)
Returns the source of the error in string format for the given ErrorType.
Definition IException.cpp:672
const char * what() const
Returns a string representation of this exception in its current state.
Definition IException.cpp:373
ErrorType errorType() const
Returns the source of the error for this exception.
Definition IException.cpp:428
QString toString() const
Returns a string representation of this exception.
Definition IException.cpp:535
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition IException.cpp:407
void print() const
Prints a string representation of this exception to stderr.
Definition IException.cpp:443
Pvl toPvl() const
Returns a PVL object representing the contents of this exception.
Definition IException.cpp:473
~IException()
The destructor frees memory allocated for the message, filename, and list of previous exceptions.
Definition IException.cpp:347
Container for cube-like labels.
Definition Pvl.h:119
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16