Otawa  0.10
otawa::ProcessException Class Reference

An exception generated from a process. More...

#include <otawa/prog/Process.h>

Inheritance diagram for otawa::ProcessException:
otawa::Exception elm::MessageException elm::Exception otawa::OutOfSegmentException otawa::UnsupportedFeatureException

Public Member Functions

 ProcessException (Process *process)
 
 ProcessException (Process *process, const string &message)
 Build a process exception with a message. More...
 
Processprocess (void) const
 Get the process where the exception was thrown. More...
 
virtual String message (void)
 

Private Attributes

Processproc
 

Detailed Description

An exception generated from a process.

Constructor & Destructor Documentation

otawa::ProcessException::ProcessException ( Process process)
inline
otawa::ProcessException::ProcessException ( Process process,
const string message 
)
inline

Build a process exception with a message.

Parameters
processCurrent process.
messageException message.

Member Function Documentation

String otawa::ProcessException::message ( void  )
virtual
Process * otawa::ProcessException::process ( void  ) const
inline

Get the process where the exception was thrown.

Returns
Exception process.

References proc.

Referenced by message(), otawa::UnsupportedFeatureException::message(), and otawa::OutOfSegmentException::message().

Member Data Documentation

Process* otawa::ProcessException::proc
private

The documentation for this class was generated from the following files: