org.omg.IOP.CodecFactoryPackage
Class UnknownEncoding

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.IOP.CodecFactoryPackage.UnknownEncoding
All Implemented Interfaces:
Serializable, IDLEntity

public final class UnknownEncoding
extends UserException
implements IDLEntity, Serializable

The CodecFactoryOperations.create_codec(org.omg.IOP.Encoding) raises UnknownEncoding if that factory cannot create a Codec of the given encoding.

See Also:
Serialized Form

Constructor Summary
UnknownEncoding()
          Create UnknownEncoding with no explaining message.
UnknownEncoding(String why)
          Create the UnknownEncoding with explaining message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownEncoding

public UnknownEncoding()
Create UnknownEncoding with no explaining message.


UnknownEncoding

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

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