- 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.
Remarks:
The Slice compiler generated this enum from Slice enumeration ::Ice::ReplyStatus.
-
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 ReplyStatusice_read(InputStream istr) Unmarshals aReplyStatusfrom an input stream.static Optional<ReplyStatus>ice_read(InputStream istr, int tag) Unmarshals an optionalReplyStatusfrom an input stream.voidice_write(OutputStream ostr) Marshals thisReplyStatusinto an output stream.static voidice_write(OutputStream ostr, int tag, ReplyStatus v) Marshals an optionalReplyStatusinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ReplyStatus> v) Marshals an optionalReplyStatusinto an output stream.static voidice_write(OutputStream ostr, ReplyStatus v) Marshals aReplyStatusinto an output stream.intvalue()Returns the integer value of this enumerator.static ReplyStatusvalueOf(int v) Returns theReplyStatusenumerator corresponding to the given integer value.static ReplyStatusReturns 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 theReplyStatusenumerator corresponding to the given integer value.- Parameters:
v- the integer value of the enumerator- Returns:
- the
ReplyStatusenumerator corresponding to the given integer value, ornullif no such enumerator exists
-
ice_write
Marshals thisReplyStatusinto an output stream.- Parameters:
ostr- the output stream
-
ice_write
Marshals aReplyStatusinto an output stream.- Parameters:
ostr- the output streamv- theReplyStatusto marshal
-
ice_read
Unmarshals aReplyStatusfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ReplyStatus
-
ice_write
Marshals an optionalReplyStatusinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalReplyStatusinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalReplyStatusfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-