Name

CompletionStatus

Synopsis

When an org.omg.CORBA.SystemException is thrown, it contains a CompletionStatus object that indicates whether the method invoked was completed before the exception was encountered.

The CompletionStatus class has three static instances, COMPLETED_YES, COMPLETED_MAYBE, and COMPLETED_NO, and three static int members, _COMPLETED_YES, _COMPLETED_MAYBE and _COMPLETED_NO. When you receive a CompletionStatus, you can either compare it to one of the static instances, or compare its value (queried using the value() method) to one of the static int values.

                  
public final class CompletionStatus implements org.omg.CORBA.portable.IDLEntity {
// No Constructor
                  // Public Constants
   public static final int _COMPLETED_MAYBE;                     // =2
   public static final int _COMPLETED_NO;                        // =1
   public static final int _COMPLETED_YES;                       // =0
   public static final CompletionStatus COMPLETED_MAYBE;  
   public static final CompletionStatus COMPLETED_NO;  
   public static final CompletionStatus COMPLETED_YES;  
// Public Class Methods
   public static CompletionStatus from_int( int i);  
// Public Instance Methods
   public int value();  
}

Passed To

Too many methods to list.

Returned By

CompletionStatus.from_int(), CompletionStatusHelper.{extract(), read()}

Type Of

CompletionStatus.{COMPLETED_MAYBE, COMPLETED_NO, COMPLETED_YES}, org.omg.CORBA.SystemException.completed

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.