public BAD_PARAM noClientWcharCodesetCtx() { return noClientWcharCodesetCtx(CompletionStatus.COMPLETED_NO, null); }
public BAD_PARAM noClientWcharCodesetCtx(Throwable t) { return noClientWcharCodesetCtx(CompletionStatus.COMPLETED_NO, t); }
public BAD_PARAM noClientWcharCodesetCtx(Throwable t) { return noClientWcharCodesetCtx(CompletionStatus.COMPLETED_NO, t); }
public BAD_PARAM noClientWcharCodesetCtx(CompletionStatus cs) { return noClientWcharCodesetCtx(cs, null); }
public BAD_PARAM noClientWcharCodesetCtx(CompletionStatus cs) { return noClientWcharCodesetCtx(cs, null); }
public BAD_PARAM noClientWcharCodesetCtx() { return noClientWcharCodesetCtx(CompletionStatus.COMPLETED_NO, null); }
protected CodeSetConversion.BTCConverter createWCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, we have to throw an exception. See CORBA // formal 00-11-03 13.9.2.6. if (codesets == null) { if (getConnection().isServer()) throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp(); } OSFCodeSetRegistry.Entry wcharSet = OSFCodeSetRegistry.lookupEntry(codesets.getWCharCodeSet()); if (wcharSet == null) throw wrapper.unknownCodeset(wcharSet); // For GIOP 1.2 and UTF-16, use big endian if there is no byte order marker. (See issue 3405b) // // For GIOP 1.1 and UTF-16, use the byte order the stream if there isn't (and there shouldn't be) a byte order // marker. // // GIOP 1.0 doesn't have wchars. If we're talking to a legacy ORB, we do what our old ORBs did. if (wcharSet == OSFCodeSetRegistry.UTF_16) { if (getGIOPVersion().equals(GIOPVersion.V1_2)) return CodeSetConversion.impl().getBTCConverter(wcharSet, false); } return CodeSetConversion.impl().getBTCConverter(wcharSet, isLittleEndian()); }
protected CodeSetConversion.BTCConverter createWCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, we have to throw an exception. See CORBA // formal 00-11-03 13.9.2.6. if (codesets == null) { if (getConnection().isServer()) throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp(); } OSFCodeSetRegistry.Entry wcharSet = OSFCodeSetRegistry.lookupEntry(codesets.getWCharCodeSet()); if (wcharSet == null) throw wrapper.unknownCodeset(wcharSet); // For GIOP 1.2 and UTF-16, use big endian if there is no byte order marker. (See issue 3405b) // // For GIOP 1.1 and UTF-16, use the byte order the stream if there isn't (and there shouldn't be) a byte order // marker. // // GIOP 1.0 doesn't have wchars. If we're talking to a legacy ORB, we do what our old ORBs did. if (wcharSet == OSFCodeSetRegistry.UTF_16) { if (getGIOPVersion().equals(GIOPVersion.V1_2)) return CodeSetConversion.impl().getBTCConverter(wcharSet, false); } return CodeSetConversion.impl().getBTCConverter(wcharSet, isLittleEndian()); }
throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp();
throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp();