synfig-studio  1.0.3
Public Types | Public Member Functions | List of all members
synfigapp::Action::Error Class Reference

Exception class, thrown when redoing or undoing an action. More...

#include <action.h>

Public Types

enum  Type {
  TYPE_UNKNOWN, TYPE_UNABLE, TYPE_BADPARAM, TYPE_CRITICAL,
  TYPE_NOTREADY, TYPE_BUG, TYPE_END
}

Public Member Functions

 Error (Type type, const char *format,...)
 Error (const char *format,...)
 Error (Type type=TYPE_UNABLE)
Type get_type () const
synfig::String get_desc () const

Detailed Description

Exception class, thrown when redoing or undoing an action.

Member Enumeration Documentation

Enumerator:
TYPE_UNKNOWN 
TYPE_UNABLE 
TYPE_BADPARAM 
TYPE_CRITICAL 
TYPE_NOTREADY 
TYPE_BUG 
TYPE_END 

Constructor & Destructor Documentation

synfigapp::Action::Error::Error ( Type  type,
const char *  format,
  ... 
)
inline
synfigapp::Action::Error::Error ( const char *  format,
  ... 
)
inline
synfigapp::Action::Error::Error ( Type  type = TYPE_UNABLE)
inline

Member Function Documentation

Type synfigapp::Action::Error::get_type ( ) const
inline
synfig::String synfigapp::Action::Error::get_desc ( ) const
inline

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