exception helper