Otawa  0.10
otawa::sim::Exception Class Reference

Exception generated by a simulator. More...

#include <otawa/sim/Simulator.h>

Inheritance diagram for otawa::sim::Exception:
otawa::Exception

Public Member Functions

 Exception (const Simulator &sim, const string &message)
 Build an exception with a message. More...
 

Private Member Functions

elm::String header (const Simulator &sim, const elm::CString message)
 Build the message with plug-in information. More...
 
virtual String message (void)
 

Detailed Description

Exception generated by a simulator.

Constructor & Destructor Documentation

otawa::sim::Exception::Exception ( const Simulator sim,
const string message 
)

Build an exception with a message.

Parameters
simCurrent simulator.
messageMessage to display.

Member Function Documentation

elm::String otawa::sim::Exception::header ( const Simulator sim,
const elm::CString  message 
)
private

Build the message with plug-in information.

Parameters
simCurrent simulator.
messageError message.

References buf, and elm::StringBuffer::toString().


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