HFST - Helsinki Finite-State Transducer Technology - C++ API
version 3.9.1
|
Stream cannot be read. More...
#include <HfstExceptionDefs.h>
Additional Inherited Members | |
Public Member Functions inherited from HfstException | |
HFSTDLL std::string | operator() (void) const |
Get the error message. More... | |
Stream cannot be read.
Thrown by hfst::HfstTransducer(const hfst::HfstInputStream&) and hfst::HfstTransducer(FILE*, ImplementationType, const std::string&)
An example:
try { HfstInputStream in("foofile"); } catch (StreamNotReadableException e) { fprintf(stderr, "ERROR: file cannot be read.\n"); }