HFST - Helsinki Finite-State Transducer Technology - C++ API  version 3.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
StateIndexOutOfBoundsException Struct Reference

The StateId argument is not valid. More...

#include <HfstExceptionDefs.h>

Inheritance diagram for StateIndexOutOfBoundsException:

Additional Inherited Members

- Public Member Functions inherited from HfstException
HFSTDLL std::string operator() (void) const
 Get the error message. More...

Detailed Description

The StateId argument is not valid.

An example:

HfstBasicTransducer tr;
// An exception is thrown as there is no state number 2
float w = tr.get_final_weight(2);

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