HFST - Helsinki Finite-State Transducer Technology API
version 3.7.1
|
Stream cannot be read. More...
#include <HfstExceptionDefs.h>
Additional Inherited Members | |
Public Member Functions inherited from HfstException | |
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"); }