Skip to content

Class Paramita::UnsupportedMethodException

The method is not implemented for this extension.

Some methods in the interfaces are optional. If a method is not implemented for a certain extension, it will throw this exception.

  • #include <Exceptions.hpp>

Inherits the following classes: std::exception

Public Functions

Type Name
UnsupportedMethodException (std::string msg)
Constructor that initializes the exception with a message.
const char * what () noexcept override const
Retrieves the error message associated with the exception.

Public Functions Documentation

function UnsupportedMethodException

Constructor that initializes the exception with a message.

inline explicit Paramita::UnsupportedMethodException::UnsupportedMethodException (
    std::string msg
) 

Parameters:

  • msg The message describing the reason of the exception.

function what

Retrieves the error message associated with the exception.

inline const char * Paramita::UnsupportedMethodException::what () noexcept override const

Returns:

A C-style string representing the exception message.