HFST - Helsinki Finite-State Transducer Technology API  version 3.7.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:
HfstException

Additional Inherited Members

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

Detailed Description

The StateId argument is not valid.

An example:

HfstBasicTransducer tr;
tr.add_state(1);
// 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: