See
Javascript - Exception