KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
exceptions::generic_exception Class Reference

A generic exception that can be used for common errors out of an internal from Kunai. More...

#include <generic_exception.hpp>

Inheritance diagram for exceptions::generic_exception:
Inheritance graph
[legend]
Collaboration diagram for exceptions::generic_exception:
Collaboration graph
[legend]

Public Member Functions

 generic_exception (const std::string &msg)
 Constructor of exception.
 
virtual const char * what () const noexcept override
 Return error message.
 

Detailed Description

A generic exception that can be used for common errors out of an internal from Kunai.

Constructor & Destructor Documentation

◆ generic_exception()

exceptions::generic_exception::generic_exception ( const std::string &  msg)
inline

Constructor of exception.

Parameters
msgmessage to show to the user

Member Function Documentation

◆ what()

virtual const char * exceptions::generic_exception::what ( ) const
inlineoverridevirtualnoexcept

Return error message.

Returns
error message in a c string style

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