Catch Exception in compiler.