Skip to Content
Learning Apache Thrift
book

Learning Apache Thrift

by Krzysztof Rakowski
December 2015
Intermediate to advanced
204 pages
4h 19m
English
Packt Publishing
Content preview from Learning Apache Thrift

What are exceptions and how to handle them?

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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programmer’s Guide to Apache Thrift

Programmer’s Guide to Apache Thrift

William Abernethy
Building Real-time Mobile Solutions with MQTT and IBM MessageSight

Building Real-time Mobile Solutions with MQTT and IBM MessageSight

Bryan Boyd, Joel Gauci, Michael P Robertson, Nguyen Van Duy, Rahul Gupta, Vasfi Gucer, Vladimir Kislicins

Publisher Resources

ISBN: 9781785882746Supplemental Content