UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
InvalidInputException Class Reference

This exception is thrown whenever a function is called with invalid inputs. More...

#include <InvalidInputException.h>

Inheritance diagram for InvalidInputException:
Inheritance graph
[legend]
Collaboration diagram for InvalidInputException:
Collaboration graph
[legend]

Public Member Functions

 InvalidInputException (string message)
 Generates a new exception with the given error text.
 
virtual ~InvalidInputException () throw ()
 Destroys this instance of InvalidInputException.
 
virtual const char * what () const override throw ()
 Returns a string representation of the exception. More...
 

Protected Attributes

string exceptionMessage
 Stores the message of the exception.
 

Detailed Description

This exception is thrown whenever a function is called with invalid inputs.

This exception is only used if the invalid input cannot be ignored, e.g. by returning null.

Author
Jan Stückrath

Member Function Documentation

const char * what ( ) const
throw (
)
overridevirtualinherited

Returns a string representation of the exception.

This contains the exceptions name and the actual message.

Returns
a string representation (as const char*) of the exception

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