16. The compensation under this act shall be in lieu of all rights, recourses and rights of action, of any nature whatsoever, of the workman, of the members of his family, or his dependants against the employer of such workman by reason of any accident happening to him, by reason of or in the course of his work for such employer, and no action in respect thereof shall lie in any court of justice.
R. S. 1964, c. 159, s. 15.