- All Implemented Interfaces:
Serializable
,Comparable<ReplyStatus>
,Constable
Represents the status of a reply.
A reply status can have any value in the range 0..255. Do not use this enum to marshal or unmarshal a reply
status unless you know its value corresponds to one of the enumerators defined below.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe dispatch found an implementation for the target object but could not find the requested facet.The dispatch failed because the request payload could not be unmarshaled.The dispatch could not find an implementation for the target object.The dispatch completed successfully.The dispatch found an implementation for the target object but could not find the requested operation.The caller is not authorized to access the requested resource.The dispatch failed with some other exception (neither an Ice local exception nor a Slice user exception).The dispatch failed with an Ice local exception.The dispatch failed with a Slice user exception that does not conform to the exception specification of the operation.The dispatch completed with a Slice user exception. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplyStatus
ice_read
(InputStream istr) Unmarshals aReplyStatus
from an input stream.static Optional<ReplyStatus>
ice_read
(InputStream istr, int tag) Unmarshals an optionalReplyStatus
from an input stream.void
ice_write
(OutputStream ostr) Marshals thisReplyStatus
into an output stream.static void
ice_write
(OutputStream ostr, int tag, ReplyStatus v) Marshals an optionalReplyStatus
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ReplyStatus> v) Marshals an optionalReplyStatus
into an output stream.static void
ice_write
(OutputStream ostr, ReplyStatus v) Marshals aReplyStatus
into an output stream.int
value()
Returns the integer value of this enumerator.static ReplyStatus
valueOf
(int v) Returns theReplyStatus
enumerator corresponding to the given integer value.static ReplyStatus
Returns the enum constant of this class with the specified name.static ReplyStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Ok
The dispatch completed successfully. -
UserException
The dispatch completed with a Slice user exception. -
ObjectNotExist
The dispatch could not find an implementation for the target object. -
FacetNotExist
The dispatch found an implementation for the target object but could not find the requested facet. -
OperationNotExist
The dispatch found an implementation for the target object but could not find the requested operation. -
UnknownLocalException
The dispatch failed with an Ice local exception. -
UnknownUserException
The dispatch failed with a Slice user exception that does not conform to the exception specification of the operation. -
UnknownException
The dispatch failed with some other exception (neither an Ice local exception nor a Slice user exception). -
InvalidData
The dispatch failed because the request payload could not be unmarshaled. It is typically due to a mismatch in the Slice definitions used by the client and the server. -
Unauthorized
The caller is not authorized to access the requested resource.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()Returns the integer value of this enumerator.- Returns:
- the integer value of this enumerator
-
valueOf
Returns theReplyStatus
enumerator corresponding to the given integer value.- Parameters:
v
- the value to match- Returns:
- the
ReplyStatus
enumerator corresponding to the given integer value, ornull
if no such enumerator exists
-
ice_write
Marshals thisReplyStatus
into an output stream.- Parameters:
ostr
- the output stream
-
ice_write
Marshals aReplyStatus
into an output stream.- Parameters:
ostr
- the output streamv
- theReplyStatus
to marshal
-
ice_read
Unmarshals aReplyStatus
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ReplyStatus
-
ice_write
Marshals an optionalReplyStatus
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalReplyStatus
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalReplyStatus
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-