Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.CompletionStatus
An object that indicates whether a method had completed running
when a SystemException
was thrown.
The class CompletionStatus
contains three CompletionStatus
instances, which are constants
representing each
possible completion status: COMPLETED_MAYBE
,
COMPLETED_NO
, and COMPLETED_YES
.
It also contains
three int
members, each a constant corresponding to one of
the CompletionStatus
instances. These int
members make it possible to use a switch
statement.
The class also contains two methods:
public int value ()
-- which accesses the
value
field of a CompletionStatus
object
public static CompletionStatus
from_int (int i)
--
for creating an instance from one of the int
members
SystemException
, Serialized FormField Summary | |
static int |
_COMPLETED_MAYBE
The constant indicating that a method completed running before a SystemException was thrown. |
static int |
_COMPLETED_NO
The constant indicating that a method completed running before a SystemException was thrown. |
static int |
_COMPLETED_YES
The constant indicating that a method completed running before a SystemException was thrown. |
static CompletionStatus |
COMPLETED_MAYBE
An instance of CompletionStatus initialized with
the constant _COMPLETED_MAYBE . |
static CompletionStatus |
COMPLETED_NO
An instance of CompletionStatus initialized with
the constant _COMPLETED_NO . |
static CompletionStatus |
COMPLETED_YES
An instance of CompletionStatus initialized with
the constant _COMPLETED_YES . |
Constructor Summary | |
protected |
CompletionStatus(int _value)
|
Method Summary | |
static CompletionStatus |
from_int(int i)
Creates a CompletionStatus object from the given int . |
int |
value()
Retrieves the value of this CompletionStatus object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int _COMPLETED_YES
SystemException
was thrown.public static final int _COMPLETED_NO
SystemException
was thrown.public static final int _COMPLETED_MAYBE
SystemException
was thrown.public static final CompletionStatus COMPLETED_YES
CompletionStatus
initialized with
the constant _COMPLETED_YES
.public static final CompletionStatus COMPLETED_NO
CompletionStatus
initialized with
the constant _COMPLETED_NO
.public static final CompletionStatus COMPLETED_MAYBE
CompletionStatus
initialized with
the constant _COMPLETED_MAYBE
.Constructor Detail |
protected CompletionStatus(int _value)
Method Detail |
public int value()
CompletionStatus
object.CompletionStatus
values:
_COMPLETED_YES
, _COMPLETED_NO
, or
_COMPLETED_MAYBE
public static CompletionStatus from_int(int i) throws BAD_PARAM
CompletionStatus
object from the given int
.i
- one of _COMPLETED_YES
, _COMPLETED_NO
, or
_COMPLETED_MAYBE
int
constants defined in CompletionStatus
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |