Otawa  0.10
otawa::Exception Class Reference

Base class of Otawa exceptions. More...

#include <otawa/base.h>

Inheritance diagram for otawa::Exception:
elm::MessageException elm::Exception otawa::display::Exception otawa::DuplicateIdentifierException otawa::FeatureNotFound otawa::NoProcessorException otawa::ParExeException otawa::ProcessException otawa::ProcessorException otawa::ProcessorNotFound otawa::sim::Exception

Public Member Functions

 Exception (void)
 Build an empty exception. More...
 
 Exception (string message)
 Build a simple exception with the given message. More...
 
 Exception (elm::Exception &exn)
 Build OTAWA exception from another exception. More...
 
 Exception (string message, elm::Exception &exn)
 Build OTAWA exception from a message and another exception. More...
 
virtual String message (void)
 

Detailed Description

Base class of Otawa exceptions.

Constructor & Destructor Documentation

otawa::Exception::Exception ( void  )

Build an empty exception.

otawa::Exception::Exception ( string  message)

Build a simple exception with the given message.

Parameters
messageMessage of the exception.
otawa::Exception::Exception ( elm::Exception exn)

Build OTAWA exception from another exception.

Parameters
exnException to build from.
otawa::Exception::Exception ( string  message,
elm::Exception exn 
)

Build OTAWA exception from a message and another exception.

Message and exception message are joined separated by a ":".

Parameters
messageException message.
exnException to join with.

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