org.omg.CosPropertyService
Class ExceptionReason

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

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

This type defines an enumeration of exception reasons that are used to specify the reason for a PropertyException.

See Also:
PropertyException, MultipleExceptions, InvalidPropertyName, ConflictingProperty, PropertyNotFound, UnsupportedTypeCode, UnsupportedProperty, UnsupportedMode, FixedProperty, ReadOnlyProperty, Serialized Form

Field Summary
static int _conflicting_property
          Enum member conflicting_property value
static int _fixed_property
          Enum member fixed_property value
static int _invalid_property_name
          Enum member invalid_property_name value
static int _property_not_found
          Enum member property_not_found value
static int _read_only_property
          Enum member read_only_property value
static int _unsupported_mode
          Enum member unsupported_mode value
static int _unsupported_property
          Enum member unsupported_property value
static int _unsupported_type_code
          Enum member unsupported_type_code value
static ExceptionReason conflicting_property
          Enum member conflicting_property
static ExceptionReason fixed_property
          Enum member fixed_property
static ExceptionReason invalid_property_name
          Enum member invalid_property_name
static ExceptionReason property_not_found
          Enum member property_not_found
static ExceptionReason read_only_property
          Enum member read_only_property
static ExceptionReason unsupported_mode
          Enum member unsupported_mode
static ExceptionReason unsupported_property
          Enum member unsupported_property
static ExceptionReason unsupported_type_code
          Enum member unsupported_type_code
 
Method Summary
static ExceptionReason 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

_invalid_property_name

public static final int _invalid_property_name
Enum member invalid_property_name value

See Also:
Constant Field Values

invalid_property_name

public static final ExceptionReason invalid_property_name
Enum member invalid_property_name


_conflicting_property

public static final int _conflicting_property
Enum member conflicting_property value

See Also:
Constant Field Values

conflicting_property

public static final ExceptionReason conflicting_property
Enum member conflicting_property


_property_not_found

public static final int _property_not_found
Enum member property_not_found value

See Also:
Constant Field Values

property_not_found

public static final ExceptionReason property_not_found
Enum member property_not_found


_unsupported_type_code

public static final int _unsupported_type_code
Enum member unsupported_type_code value

See Also:
Constant Field Values

unsupported_type_code

public static final ExceptionReason unsupported_type_code
Enum member unsupported_type_code


_unsupported_property

public static final int _unsupported_property
Enum member unsupported_property value

See Also:
Constant Field Values

unsupported_property

public static final ExceptionReason unsupported_property
Enum member unsupported_property


_unsupported_mode

public static final int _unsupported_mode
Enum member unsupported_mode value

See Also:
Constant Field Values

unsupported_mode

public static final ExceptionReason unsupported_mode
Enum member unsupported_mode


_fixed_property

public static final int _fixed_property
Enum member fixed_property value

See Also:
Constant Field Values

fixed_property

public static final ExceptionReason fixed_property
Enum member fixed_property


_read_only_property

public static final int _read_only_property
Enum member read_only_property value

See Also:
Constant Field Values

read_only_property

public static final ExceptionReason read_only_property
Enum member read_only_property

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 ExceptionReason 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