classPiiClassificationException
#include <PiiClassificationException.h>
PiiClassificationException is thrown when errors occur in classification.
Inherits PiiException
Description
Public types
|
enum
|
{ Unknown, LearningInterrupted }
Codes for different exception types. |
Constructors and destructor
|
Construct a |
|
|
Construct a new PiiClassificationException with the given error code. |
Public member functions
|
( )
Get the cause of the exception. |
Static public member functions
|
static const char *
|
Convert a numerical error code into human-readable text. |
Enumeration details
-
enum Code
Codes for different exception types.
-
Unknown- unknown error -
LearningInterrupted- learning was interrupted by user.
-
Function details
-
Construct a
Unknownexception with the given error message. -
Construct a new PiiClassificationException with the given error code.
The exception message will be automatically generated with messageForCode().
-
Code code
()Get the cause of the exception.
-
Convert a numerical error code into human-readable text.
Add a note
Not a single note added yet. Be the first, add yours.