ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Assembler::Exception Class Reference

Exception thrown by the assemblers. More...

#include <Assembler.h>

Inheritance diagram for Assembler::Exception:
Collaboration diagram for Assembler::Exception:

Public Member Functions

 Exception (const std::string &reason, SgAsmInstruction *insn)
 An exception bound to a particular instruction being assembled. More...
 
 Exception (const std::string &reason)
 An exception not bound to a particular instruction. More...
 
void print (std::ostream &) const
 

Public Attributes

SgAsmInstructioninsn
 Instruction associated with an assembly error. More...
 

Friends

std::ostream & operator<< (std::ostream &, const Exception &)
 

Detailed Description

Exception thrown by the assemblers.

Definition at line 52 of file Assembler.h.

Constructor & Destructor Documentation

Assembler::Exception::Exception ( const std::string &  reason,
SgAsmInstruction insn 
)
inline

An exception bound to a particular instruction being assembled.

Definition at line 55 of file Assembler.h.

Assembler::Exception::Exception ( const std::string &  reason)
inline

An exception not bound to a particular instruction.

Definition at line 59 of file Assembler.h.

Member Function Documentation

void Assembler::Exception::print ( std::ostream &  ) const

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const Exception  
)
friend

Member Data Documentation

SgAsmInstruction* Assembler::Exception::insn

Instruction associated with an assembly error.

Definition at line 65 of file Assembler.h.


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