ROSE  0.9.10.75
Public Member Functions | Public Attributes | Friends | List of all members
Assembler::Exception Class Reference

Description

Exception thrown by the assemblers.

Definition at line 52 of file Assembler.h.

#include <Assembler.h>

Inheritance diagram for Assembler::Exception:
Inheritance graph
[legend]
Collaboration diagram for Assembler::Exception:
Collaboration graph
[legend]

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 &)
 

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 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: