Name

DATA_CONVERSION

Synopsis

A standard CORBA exception thrown when the ORB fails to convert some piece of data, such as during the conversion of a stringified object reference. Sun’s Java IDL defines the following minor error code values for this exception, stored in the minor data member inherited from SystemException:

Minor codeMeaning
1

A bad hexadecimal character was found while converting a stringified object reference back to an object reference.

2

The byte length of a stringified object reference is odd, when it must be even.

3

The “IOR:” preface is missing from the stringified object reference passed into string_to_object().

4

The resolve_initial_references() method failed because the location (host and port number) of the remote ORB specified is invalid or unspecified, or the remote server doesn’t support the Java IDL bootstrap protocol.

                  Implementations
public final class DATA_CONVERSION extends org.omg.CORBA.SystemException {
// Public Constructors
   public DATA_CONVERSION();  
   public DATA_CONVERSION( String s);  
   public DATA_CONVERSION(int minor, 
        CompletionStatus completed);  
   public DATA_CONVERSION(String s, int minor, 
        CompletionStatus completed);  
}

Thrown By

Any.{insert_char(), insert_string()}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.