TANAL-41: Correct erroneous throw expression

Signed-off-by: Nicola Mometto <brobronsa@gmail.com>