Into

Modules

Documentation

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 Unknown exception with the given error message.

( )

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

  • PiiClassificationException

    ( )

    Construct a Unknown exception with the given error message.

  • PiiClassificationException

    ( )

    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.

  • static const char * messageForCode

    ( )
    [static]

    Convert a numerical error code into human-readable text.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.