Construct version 5.4.4
An agent based modeling framework
dynet::wrong_file_extension Struct Reference

Thrown when the name of file to be opened has the wrong file extension. More...

Inheritance diagram for dynet::wrong_file_extension:
Collaboration diagram for dynet::wrong_file_extension:

Public Member Functions

 wrong_file_extension (const std::string &param_name, const std::string &ext)
 
- Public Member Functions inherited from dynet::construct_exception
 construct_exception (const std::string &message)
 Initializes a std::runtime_error with the submitted message.
 
std::string string (void) const
 Copies the contents of the message into a string.
 

Detailed Description

Thrown when the name of file to be opened has the wrong file extension.

Message: "Parameter " + param_name + " must have file extensions of " + ext