|
Licme
|
Exception class for validation errors. More...
#include <exceptions.h>
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. | |
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.
| licme::helpers::ValidationException::ValidationException | ( | std::string | message | ) |
Construct a new Validation Exception object.
| message | clear and understandable message |