Audacity 3.2.0
UserException.h
Go to the documentation of this file.
1
9#ifndef __AUDACITY_USER_EXCEPTION__
10#define __AUDACITY_USER_EXCEPTION__
11
12#include "AudacityException.h"
13
15
16class EXCEPTIONS_API UserException final : public AudacityException
17{
18public:
20
21 ~UserException() override;
22
23 void DelayedHandlerAction() override;
24};
25
26#endif
Declare abstract class AudacityException, some often-used subclasses, and GuardedCall.
Base class for exceptions specially processed by the application.
virtual void DelayedHandlerAction()=0
Action to do in the main thread at idle time of the event loop.
Can be thrown when user cancels operations, as with a progress dialog. Delayed handler does nothing.
Definition: UserException.h:17