The setjmp and longjmp Facility
Prior to the introduction of exception in C++
setjmp: errors often occur many levels deep, rather than unwinding the sequence of calls, better to simply jump back to an earlier point in execution to handle the error.
Avoid the setjmp facility in new code, as exceptions provide the same functionality.