December 2015
Intermediate to advanced
204 pages
4h 19m
English
In our work, we will concentrate on runtime errors as these are the errors that may occur in your Apache Thrift-enabled application and you can (and should) handle them.
In most programming languages, exceptions work in a similar manner: when an error occurs at runtime, a special object is created. This object inherits from the basic exception or error class, depending on the language, and contains information on the nature of the problem. The execution of the program is interrupted and the exception object is passed to the runtime system (this is called throwing an exception), which, in turn, tries to handle it. Developers have the ability to define various exception handlers, which can catch the exception. ...