Fixing thrown exception without context