Change parameter type to parameter_t
Corrected exception class type