ComSquare
Public Member Functions | Private Attributes | List of all members
ComSquare::InvalidOpcode Class Reference

Exception thrown when someone tries to load an invalid rom. More...

#include <InvalidOpcode.hpp>

Inheritance diagram for ComSquare::InvalidOpcode:
Collaboration diagram for ComSquare::InvalidOpcode:

Public Member Functions

 InvalidOpcode (const std::string &what)
 
 InvalidOpcode (const std::string &pu, unsigned opcode)
 
const char * what () const noexcept override
 

Private Attributes

std::string _msg
 

Detailed Description

Exception thrown when someone tries to load an invalid rom.

Constructor & Destructor Documentation

◆ InvalidOpcode() [1/2]

ComSquare::InvalidOpcode::InvalidOpcode ( const std::string &  what)
inlineexplicit

◆ InvalidOpcode() [2/2]

ComSquare::InvalidOpcode::InvalidOpcode ( const std::string &  pu,
unsigned  opcode 
)
inlineexplicit

Member Function Documentation

◆ what()

const char* ComSquare::InvalidOpcode::what ( ) const
inlineoverridenoexcept

Member Data Documentation

◆ _msg

std::string ComSquare::InvalidOpcode::_msg
private

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