public MARSHAL unsupportedFormatVersion(CompletionStatus cs) { return unsupportedFormatVersion(cs, null); }
public MARSHAL unsupportedFormatVersion() { return unsupportedFormatVersion(CompletionStatus.COMPLETED_NO, null); }
public MARSHAL unsupportedFormatVersion(CompletionStatus cs) { return unsupportedFormatVersion(cs, null); }
public MARSHAL unsupportedFormatVersion(Throwable t) { return unsupportedFormatVersion(CompletionStatus.COMPLETED_NO, t); }
public MARSHAL unsupportedFormatVersion() { return unsupportedFormatVersion(CompletionStatus.COMPLETED_NO, null); }
public MARSHAL unsupportedFormatVersion(Throwable t) { return unsupportedFormatVersion(CompletionStatus.COMPLETED_NO, t); }
private void readFormatVersion() throws IOException { streamFormatVersion = orbStream.read_octet(); if (streamFormatVersion < 1 || streamFormatVersion > vhandler.getMaximumStreamFormatVersion()) { SystemException sysex = omgWrapper.unsupportedFormatVersion(CompletionStatus.COMPLETED_MAYBE); // XXX I18N? Logging for IOException? IOException result = new IOException("Unsupported format version: " + streamFormatVersion); result.initCause(sysex); throw result; } if (streamFormatVersion == 2) { if (!(orbStream instanceof ValueInputStream)) { SystemException sysex = omgWrapper.notAValueinputstream(CompletionStatus.COMPLETED_MAYBE); // XXX I18N? Logging for IOException? IOException result = new IOException("Not a ValueInputStream"); result.initCause(sysex); throw result; } } }
private void readFormatVersion() throws IOException { streamFormatVersion = orbStream.read_octet(); if (streamFormatVersion < 1 || streamFormatVersion > vhandler.getMaximumStreamFormatVersion()) { SystemException sysex = omgWrapper.unsupportedFormatVersion(CompletionStatus.COMPLETED_MAYBE); // XXX I18N? Logging for IOException? IOException result = new IOException("Unsupported format version: " + streamFormatVersion); result.initCause(sysex); throw result; } if (streamFormatVersion == 2) { if (!(orbStream instanceof ValueInputStream)) { SystemException sysex = omgWrapper.notAValueinputstream(CompletionStatus.COMPLETED_MAYBE); // XXX I18N? Logging for IOException? IOException result = new IOException("Not a ValueInputStream"); result.initCause(sysex); throw result; } } }