org.omg.CORBA
Class exception_type

java.lang.Object
  extended byorg.omg.CORBA.exception_type
All Implemented Interfaces:
IDLEntity, java.io.Serializable

public final class exception_type
extends java.lang.Object
implements IDLEntity

Enum definition: exception_type.

Author:
OpenORB Compiler
See Also:
Serialized Form

Field Summary
static int _NO_EXCEPTION
          Enum member NO_EXCEPTION value
static int _SYSTEM_EXCEPTION
          Enum member SYSTEM_EXCEPTION value
static int _USER_EXCEPTION
          Enum member USER_EXCEPTION value
static exception_type NO_EXCEPTION
          Enum member NO_EXCEPTION
static exception_type SYSTEM_EXCEPTION
          Enum member SYSTEM_EXCEPTION
static exception_type USER_EXCEPTION
          Enum member USER_EXCEPTION
 
Method Summary
static exception_type 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_NO_EXCEPTION

public static final int _NO_EXCEPTION
Enum member NO_EXCEPTION value

See Also:
Constant Field Values

NO_EXCEPTION

public static final exception_type NO_EXCEPTION
Enum member NO_EXCEPTION


_USER_EXCEPTION

public static final int _USER_EXCEPTION
Enum member USER_EXCEPTION value

See Also:
Constant Field Values

USER_EXCEPTION

public static final exception_type USER_EXCEPTION
Enum member USER_EXCEPTION


_SYSTEM_EXCEPTION

public static final int _SYSTEM_EXCEPTION
Enum member SYSTEM_EXCEPTION value

See Also:
Constant Field Values

SYSTEM_EXCEPTION

public static final exception_type SYSTEM_EXCEPTION
Enum member SYSTEM_EXCEPTION

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

Returns:
a string representation of the enumeration