Audacity 3.2.0
Public Member Functions | List of all members
UserException Class Referencefinal

Can be thrown when user cancels operations, as with a progress dialog. Delayed handler does nothing. More...

#include <UserException.h>

Inheritance diagram for UserException:
[legend]
Collaboration diagram for UserException:
[legend]

Public Member Functions

 UserException ()
 
 ~UserException () override
 
void DelayedHandlerAction () override
 Action to do in the main thread at idle time of the event loop. More...
 
- Public Member Functions inherited from AudacityException
 AudacityException ()
 
virtual ~AudacityException ()=0
 
virtual void DelayedHandlerAction ()=0
 Action to do in the main thread at idle time of the event loop. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AudacityException
static void EnqueueAction (std::exception_ptr pException, std::function< void(AudacityException *)> delayedHandler)
 
- Protected Member Functions inherited from AudacityException
 AudacityException (const AudacityException &)=default
 Make this protected to prevent slicing copies. More...
 
 AudacityException (AudacityException &&) PROHIBITED
 Don't allow moves of this class or subclasses. More...
 
AudacityExceptionoperator= (const AudacityException &) PROHIBITED
 Disallow assignment. More...
 

Detailed Description

Can be thrown when user cancels operations, as with a progress dialog. Delayed handler does nothing.

This class does not inherit from MessageBoxException.

Definition at line 16 of file UserException.h.

Constructor & Destructor Documentation

◆ UserException()

UserException::UserException ( )
inline

Definition at line 19 of file UserException.h.

19{}

◆ ~UserException()

UserException::~UserException ( )
override

Definition at line 11 of file UserException.cpp.

12{
13}

Member Function Documentation

◆ DelayedHandlerAction()

void UserException::DelayedHandlerAction ( )
overridevirtual

Action to do in the main thread at idle time of the event loop.

Implements AudacityException.

Definition at line 15 of file UserException.cpp.

16{
17}

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