org.omg.IOP.CodecPackage
Class InvalidTypeForEncoding
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.IOP.CodecPackage.InvalidTypeForEncoding
- All Implemented Interfaces:
- Serializable, IDLEntity
public final class InvalidTypeForEncoding
- extends UserException
- implements IDLEntity, Serializable
This exception is raised by CodecOperations.encode(org.omg.CORBA.Any)
or
CodecOperations.encode_value(org.omg.CORBA.Any)
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:
CodecOperations
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.