Otawa  0.10
otawa::OutOfSegmentException Class Reference

This exception is thrown when a memory access is performed on process with an address that does not point in a segment of the executable file. More...

#include <otawa/prog/Process.h>

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

Public Member Functions

 OutOfSegmentException (Process *proc, Address address)
 
Address address (void) const
 
virtual String message (void)
 
Processprocess (void) const
 Get the process where the exception was thrown. More...
 

Private Attributes

Address addr
 

Detailed Description

This exception is thrown when a memory access is performed on process with an address that does not point in a segment of the executable file.

Constructor & Destructor Documentation

otawa::OutOfSegmentException::OutOfSegmentException ( Process proc,
Address  address 
)
inline

Member Function Documentation

Address otawa::OutOfSegmentException::address ( void  ) const
inline
String otawa::OutOfSegmentException::message ( void  )
virtual

Reimplemented from otawa::ProcessException.

References _, addr, and otawa::ProcessException::process().

Process * otawa::ProcessException::process ( void  ) const
inlineinherited

Get the process where the exception was thrown.

Returns
Exception process.

References proc.

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

Member Data Documentation

Address otawa::OutOfSegmentException::addr
private

Referenced by message().


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