Otawa  0.10
otawa::UnsupportedFeatureException Class Reference

This class is used to throw an exception when a process does not support an invoked feature. More...

#include <otawa/prog/Process.h>

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

Public Member Functions

 UnsupportedFeatureException (Process *proc, const AbstractFeature &feature)
 
 UnsupportedFeatureException (const AbstractFeature &feature)
 
const AbstractFeaturefeature (void) const
 
virtual String message (void)
 
Processprocess (void) const
 Get the process where the exception was thrown. More...
 

Private Attributes

const AbstractFeaturef
 

Detailed Description

This class is used to throw an exception when a process does not support an invoked feature.

Constructor & Destructor Documentation

otawa::UnsupportedFeatureException::UnsupportedFeatureException ( Process proc,
const AbstractFeature feature 
)
inline

References elm::io::f().

otawa::UnsupportedFeatureException::UnsupportedFeatureException ( const AbstractFeature feature)
inline

References elm::io::f().

Member Function Documentation

const AbstractFeature& otawa::UnsupportedFeatureException::feature ( void  ) const
inline

References elm::io::f().

String otawa::UnsupportedFeatureException::message ( void  )
virtual
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(), message(), and otawa::OutOfSegmentException::message().

Member Data Documentation

const AbstractFeature& otawa::UnsupportedFeatureException::f
private

Referenced by message().


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