Gtkmm-PLplot 3.0
A scientific plotting library for Gtkmm
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Gtk::PLplot::Exception Class Reference

Gtkmm-PLplot's exception handler class. More...

#include <gtkmm-plplot/exception.h>

Inheritance diagram for Gtk::PLplot::Exception:
Inheritance graph
[legend]

Public Member Functions

 Exception (const Glib::ustring &s)
 
virtual ~Exception () noexcept
 
virtual const char * what () const noexcept
 

Private Attributes

Glib::ustring Message
 The exception message.
 

Detailed Description

Gtkmm-PLplot's exception handler class.

Gtkmm-PLplot has its own exception class: all methods that can throw exceptions, will always throw exceptions of this type.

Constructor & Destructor Documentation

◆ Exception()

Gtk::PLplot::Exception::Exception ( const Glib::ustring &  s)
inlineexplicit

Constructor

Creates a new Gtkmm-PLplot exception.

Parameters
sthe exception message

◆ ~Exception()

virtual Gtk::PLplot::Exception::~Exception ( )
inlinevirtualnoexcept

destructor

Member Function Documentation

◆ what()

virtual const char * Gtk::PLplot::Exception::what ( ) const
inlinevirtualnoexcept

Get the exception message

To be used in a catch block

Returns
the exception message

Member Data Documentation

◆ Message

Glib::ustring Gtk::PLplot::Exception::Message
private

The exception message.