org.omg.CosNotification
Class QoSError_code

java.lang.Object
  extended by org.omg.CosNotification.QoSError_code
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public final class QoSError_code
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

This enumration contains all Error Code of the UnsupportedQoS exception UNSUPPORTED_PROPERTY This property is not supported by this implementation for this type of target object. UNAVAILABLE_PROPERTY This property cannot be set (to any value) in the current context. UNSUPPORTED_VALUE The value requested for this property is not supported by this implementation for this type of target object. A range of values which would be supported is returned. UNAVAILABLE_VALUE The value requested for this property is not supported in the current context. A range of values which would be supported is returned. BAD_PROPERTY This property name is unrecognized. The implementation knows nothing about it. BAD_TYPE The type supplied for the value of this property is incorrect. BAD_VALUE An illegal value is supplied for this property. A range of values which would be supported is returned.

See Also:
Serialized Form

Field Summary
static int _BAD_PROPERTY
          Enum member BAD_PROPERTY value
static int _BAD_TYPE
          Enum member BAD_TYPE value
static int _BAD_VALUE
          Enum member BAD_VALUE value
static int _UNAVAILABLE_PROPERTY
          Enum member UNAVAILABLE_PROPERTY value
static int _UNAVAILABLE_VALUE
          Enum member UNAVAILABLE_VALUE value
static int _UNSUPPORTED_PROPERTY
          Enum member UNSUPPORTED_PROPERTY value
static int _UNSUPPORTED_VALUE
          Enum member UNSUPPORTED_VALUE value
static QoSError_code BAD_PROPERTY
          Enum member BAD_PROPERTY
static QoSError_code BAD_TYPE
          Enum member BAD_TYPE
static QoSError_code BAD_VALUE
          Enum member BAD_VALUE
static QoSError_code UNAVAILABLE_PROPERTY
          Enum member UNAVAILABLE_PROPERTY
static QoSError_code UNAVAILABLE_VALUE
          Enum member UNAVAILABLE_VALUE
static QoSError_code UNSUPPORTED_PROPERTY
          Enum member UNSUPPORTED_PROPERTY
static QoSError_code UNSUPPORTED_VALUE
          Enum member UNSUPPORTED_VALUE
 
Method Summary
static QoSError_code from_int(int value)
          Return a enum member from its value.
 java.lang.Object readResolve()
          Maintains singleton property for serialized enums.
 java.lang.String toString()
          Return a string representation
 int value()
          Return the internal member value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_UNSUPPORTED_PROPERTY

public static final int _UNSUPPORTED_PROPERTY
Enum member UNSUPPORTED_PROPERTY value

See Also:
Constant Field Values

UNSUPPORTED_PROPERTY

public static final QoSError_code UNSUPPORTED_PROPERTY
Enum member UNSUPPORTED_PROPERTY


_UNAVAILABLE_PROPERTY

public static final int _UNAVAILABLE_PROPERTY
Enum member UNAVAILABLE_PROPERTY value

See Also:
Constant Field Values

UNAVAILABLE_PROPERTY

public static final QoSError_code UNAVAILABLE_PROPERTY
Enum member UNAVAILABLE_PROPERTY


_UNSUPPORTED_VALUE

public static final int _UNSUPPORTED_VALUE
Enum member UNSUPPORTED_VALUE value

See Also:
Constant Field Values

UNSUPPORTED_VALUE

public static final QoSError_code UNSUPPORTED_VALUE
Enum member UNSUPPORTED_VALUE


_UNAVAILABLE_VALUE

public static final int _UNAVAILABLE_VALUE
Enum member UNAVAILABLE_VALUE value

See Also:
Constant Field Values

UNAVAILABLE_VALUE

public static final QoSError_code UNAVAILABLE_VALUE
Enum member UNAVAILABLE_VALUE


_BAD_PROPERTY

public static final int _BAD_PROPERTY
Enum member BAD_PROPERTY value

See Also:
Constant Field Values

BAD_PROPERTY

public static final QoSError_code BAD_PROPERTY
Enum member BAD_PROPERTY


_BAD_TYPE

public static final int _BAD_TYPE
Enum member BAD_TYPE value

See Also:
Constant Field Values

BAD_TYPE

public static final QoSError_code BAD_TYPE
Enum member BAD_TYPE


_BAD_VALUE

public static final int _BAD_VALUE
Enum member BAD_VALUE value

See Also:
Constant Field Values

BAD_VALUE

public static final QoSError_code BAD_VALUE
Enum member BAD_VALUE

Method Detail

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Maintains singleton property for serialized enums. Issue 4271: IDL/Java issue, Mapping for IDL enum.

Throws:
java.io.ObjectStreamException

value

public int value()
Return the internal member value

Returns:
the member value

from_int

public static QoSError_code from_int(int value)
Return a enum member from its value.

Parameters:
value - An enum value
Returns:
An enum member

toString

public java.lang.String toString()
Return a string representation

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the enumeration