Otawa
0.10
|
An exception generated from a process. More...
#include <otawa/prog/Process.h>
Public Member Functions | |
ProcessException (Process *process) | |
ProcessException (Process *process, const string &message) | |
Build a process exception with a message. More... | |
Process * | process (void) const |
Get the process where the exception was thrown. More... | |
virtual String | message (void) |
Private Attributes | |
Process * | proc |
An exception generated from a process.
|
inline |
Build a process exception with a message.
process | Current process. |
message | Exception message. |
|
virtual |
Reimplemented from elm::MessageException.
Reimplemented in otawa::OutOfSegmentException, and otawa::UnsupportedFeatureException.
References _, elm::Exception::message(), otawa::File::name(), name, process(), and otawa::Process::program().
Referenced by otawa::VarTextDecoder::processEntry().
|
inline |
Get the process where the exception was thrown.
References proc.
Referenced by message(), otawa::UnsupportedFeatureException::message(), and otawa::OutOfSegmentException::message().
|
private |