Licme
Loading...
Searching...
No Matches
licme::helpers::ValidationException Class Reference

Exception class for validation errors. More...

#include <exceptions.h>

Inheritance diagram for licme::helpers::ValidationException:
[legend]
Collaboration diagram for licme::helpers::ValidationException:
[legend]

Public Member Functions

 ValidationException (std::string message)
 Construct a new Validation Exception object.
 
- Public Member Functions inherited from licme::helpers::ExceptionBase
virtual const char * what () const noexcept
 Returns an explanation of the exception.
 

Additional Inherited Members

- Protected Member Functions inherited from licme::helpers::ExceptionBase
 ExceptionBase (std::string message)
 Construct a new Exception Base object.
 

Detailed Description

Exception class for validation errors.

This exception shall be used in case validation fails on objects. The message passed to the constructor shall be clear and understandable to the user, so he is able to fix the root cause of the exception or he can provide sufficient information to support.

Constructor & Destructor Documentation

◆ ValidationException()

licme::helpers::ValidationException::ValidationException ( std::string message)

Construct a new Validation Exception object.

Parameters
messageclear and understandable message

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