Class ExpectedExceptionBase
Defined in File ContinuationUtils.h
Inheritance Relationships
Base Type
public std::runtime_error
Derived Types
public csp::common::continuations::ErrorCodeException
(Class ErrorCodeException)public csp::common::continuations::ResultException
(Class ResultException)
Class Documentation
-
class ExpectedExceptionBase : public std::runtime_error
Serves as the base class for all expected, or business-logic, exceptions.
This class provides a common interface for exceptions that are part of the normal program flow, distinguishing them from unexpected system-level errors like out-of-memory or file not found.
Subclassed by csp::common::continuations::ErrorCodeException, csp::common::continuations::ResultException
Public Functions
-
inline ExpectedExceptionBase(const std::string &message)
-
virtual const ExceptionType GetExceptionType() const = 0
-
inline ExpectedExceptionBase(const std::string &message)