Class OperationResult

  • All Implemented Interfaces:
    OperationResultBuilder, DebugDumpable, ShortDumpable, Serializable, Cloneable

    public class OperationResult
    extends Object
    implements Serializable, DebugDumpable, ShortDumpable, Cloneable, OperationResultBuilder
    Nested Operation Result. This class provides information for better error handling in complex operations. It contains a status (success, failure, warning, ...) and an error message. It also contains a set of sub-results - results on inner operations. This object can be used by GUI to display smart (and interactive) error information. It can also be used by the client code to detect deeper problems in the invocations, retry or otherwise compensate for the errors or decide how severe the error was and it is possible to proceed.
    Author:
    lazyman, Radovan Semancik
    See Also:
    Serialized Form