mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
New library lib-exceptions
This commit is contained in:
26
libraries/lib-exceptions/UserException.h
Normal file
26
libraries/lib-exceptions/UserException.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*!
|
||||
@file UserException.h
|
||||
@brief An AudacityException with no visible message
|
||||
|
||||
Created by Paul Licameli on 11/27/16.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __AUDACITY_USER_EXCEPTION__
|
||||
#define __AUDACITY_USER_EXCEPTION__
|
||||
|
||||
#include "AudacityException.h"
|
||||
|
||||
//! Can be thrown when user cancels operations, as with a progress dialog. Delayed handler does nothing
|
||||
/*! This class does not inherit from MessageBoxException. */
|
||||
class EXCEPTIONS_API UserException final : public AudacityException
|
||||
{
|
||||
public:
|
||||
UserException() {}
|
||||
|
||||
~UserException() override;
|
||||
|
||||
void DelayedHandlerAction() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user