Fixed throwing of KIARA.Error exception.