class ugcs::vsm::Exception

Overview

Base class for all VSM exceptions. More…

#include <exception.h>

class Exception: public std::exception
{
public:
    // structs

    struct Va_args_overload;
    struct Va_list_overload;

    // construction

    Exception();
    Exception(Va_args_overload, const char* msg, ...);
    Exception(Va_list_overload, const char* msg, va_list args);

    // methods

    virtual const char* what() const;
};

// direct descendants

template <typename Dummy = void, typename TParam = int>
class Param_exception;

Detailed Documentation

Base class for all VSM exceptions.

Construction

Exception()

Default constructor should not be used often.

Exception(Va_args_overload, const char* msg, ...)

Construct exception.

Parameters:

msg

Specified formatted description.

Exception(Va_list_overload, const char* msg, va_list args)

Construct exception.

Parameters:

msg

Specified formatted description.

args

Description format parameters pack.

Methods

virtual const char* what() const

Get readable exception description.