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

Description

Exception thrown by the assemblers.

Definition at line 57 of file Assembler.h.

#include <Assembler.h>

Inheritance diagram for Rose::BinaryAnalysis::Assembler::Exception:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::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 Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message. More...
 

Public Attributes

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

Friends

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

Constructor & Destructor Documentation

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

An exception bound to a particular instruction being assembled.

Definition at line 60 of file Assembler.h.

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

An exception not bound to a particular instruction.

Definition at line 64 of file Assembler.h.

Member Data Documentation

SgAsmInstruction* Rose::BinaryAnalysis::Assembler::Exception::insn

Instruction associated with an assembly error.

Definition at line 70 of file Assembler.h.


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