retdec
Public Member Functions | Private Attributes | List of all members
retdec::capstone2llvmir::UnexpectedOperandsError Class Reference

#include <exceptions.h>

Inheritance diagram for retdec::capstone2llvmir::UnexpectedOperandsError:
Inheritance graph
[legend]
Collaboration diagram for retdec::capstone2llvmir::UnexpectedOperandsError:
Collaboration graph
[legend]

Public Member Functions

 UnexpectedOperandsError (cs_insn *i, const std::string &comment="")
 
virtual const char * what () const noexcept override
 
- Public Member Functions inherited from retdec::capstone2llvmir::BaseError
virtual ~BaseError ()=default
 

Private Attributes

cs_insn * _insn = nullptr
 
std::string _comment
 

Detailed Description

An exception class thrown when unexpected operand(s) (number, type, etc.) is(are) encountered.

These exceptions may be suppressed and/or ignored.

Constructor & Destructor Documentation

◆ UnexpectedOperandsError()

retdec::capstone2llvmir::UnexpectedOperandsError::UnexpectedOperandsError ( cs_insn *  i,
const std::string &  comment = "" 
)
Parameters
iCapstone instruction in which unexpected operand was encountered.
commentOptional comment about the problem.

Member Function Documentation

◆ what()

const char * retdec::capstone2llvmir::UnexpectedOperandsError::what ( ) const
overridevirtualnoexcept

Member Data Documentation

◆ _comment

std::string retdec::capstone2llvmir::UnexpectedOperandsError::_comment
private

◆ _insn

cs_insn* retdec::capstone2llvmir::UnexpectedOperandsError::_insn = nullptr
private

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