[HatoholException] Fix the problem in which the error code is not initialized.

Without this patch, the error code of HatoholException object is uncertain.