throw exception if message is unknown

fixes #83