HTMLCheckMatrix: Create the exceptions to be thrown directly

Instead of using a function to create itself. Just like it's done
everywhere else in the code.

Change-Id: Ib080a3eb2fc2c173f8bf07289beb976824447357
Merge "HTMLCheckMatrix: Create the exceptions to be thrown directly"