Shell exception Update

support basic shell exception handler