org.omg.IOP.CodecPackage

Class InvalidTypeForEncoding

public final class InvalidTypeForEncoding extends UserException implements IDLEntity, Serializable

This exception is raised by {@link org.omg.IOP.CodecOperations#encode} or {@link org.omg.IOP.CodecOperations#encode_value} when the type is not valid for the encoding. For instance, the "wide" character string is not a valid type for GIOP version 1.0.

See Also:

Constructor Summary
InvalidTypeForEncoding()
Create InvalidTypeForEncoding with no explaining message.
InvalidTypeForEncoding(String why)
Create the InvalidTypeForEncoding with explaining message.

Constructor Detail

InvalidTypeForEncoding

public InvalidTypeForEncoding()
Create InvalidTypeForEncoding with no explaining message.

InvalidTypeForEncoding

public InvalidTypeForEncoding(String why)
Create the InvalidTypeForEncoding with explaining message.

Parameters: why a string, explaining, why this exception has been thrown.