public CodecImpl(ORB orb, Encoding enc)
throws UnknownEncoding
{
if (enc.format != ENCODING_CDR_ENCAPS.value)
throw new UnknownEncoding();
if (enc.major_version != 1 || enc.minor_version > 2 )
throw new UnknownEncoding();
this.orb = orb;
this.giopMinor = (int)enc.minor_version;
}