57 |
/** |
/** |
58 |
* The local {@link Codec} implementation for ENCODING_CDR_ENCAPS |
* The local {@link Codec} implementation for ENCODING_CDR_ENCAPS |
59 |
* encoding. This is a local implementation; the remote side should |
* encoding. This is a local implementation; the remote side should |
60 |
* have its own Codec of this kind. |
* have its own Codec of this kind. |
61 |
* |
* |
62 |
* |
* |
63 |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
66 |
extends LocalObject |
extends LocalObject |
67 |
implements Codec |
implements Codec |
68 |
{ |
{ |
69 |
/** |
/** |
70 |
* The default version of encoding, used in parameterless constructor. |
* Use serialVersionUID for interoperability. |
71 |
*/ |
*/ |
72 |
private static final Version DEFAULT_VERSION = new Version(1, 2); |
private static final long serialVersionUID = 1; |
73 |
|
|
74 |
/** |
/** |
75 |
* If set to true, no wide string or wide character is allowed (GIOP 1.0). |
* If set to true, no wide string or wide character is allowed (GIOP 1.0). |
179 |
catch (Exception ex) |
catch (Exception ex) |
180 |
{ |
{ |
181 |
MARSHAL m = new MARSHAL(); |
MARSHAL m = new MARSHAL(); |
182 |
|
m.minor = Minor.Encapsulation; |
183 |
m.initCause(ex); |
m.initCause(ex); |
184 |
throw m; |
throw m; |
185 |
} |
} |
249 |
catch (Exception ex) |
catch (Exception ex) |
250 |
{ |
{ |
251 |
MARSHAL m = new MARSHAL(); |
MARSHAL m = new MARSHAL(); |
252 |
|
m.minor = Minor.Encapsulation; |
253 |
m.initCause(ex); |
m.initCause(ex); |
254 |
throw m; |
throw m; |
255 |
} |
} |