The StatusCode class has the same interest in Java that it had in the C++ world: it encapsulates a status and allow to query whether the operation is success or not. The interesting part of its Java definition is shown on Listing 1.2.
Besides StatusCode, a new return type has been defined that extends it by adding a member of class Object. This allows a function to return at the same time the status and the return value. This new type was called Handle. The Handle class is heavily used in the IBookkeepingInfo and IBookkeepingEditor interfaces.