Handling matcher exception