created a struct to hold the contract violation handler parameters; removed __func__ parameter from the context