public static RemoteExceptionCause readFromStream(DataInput input) throws IOException { return readObject(input, RemoteExceptionCause.class, new ArrayList<>(), false); }
String exClassName = readObject(input, String.class, cache, false); String exMessage = readObject(input, String.class, cache, true); int length = readPackedInt(input); StackTraceElement[] stackTrace; stackTrace = new StackTraceElement[length]; for (int i = 0; i < length; i++) { stackTrace[i] = readObject(input, StackTraceElement.class, cache, false); fields = Collections.emptyMap(); } else if (length == 1) { fields = Collections.singletonMap(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); } else { fields = new HashMap<>(length); for (int i = 0; i < length; i++) { fields.put(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); RemoteExceptionCause causedBy = readObject(input, RemoteExceptionCause.class, cache, true); result.initCause(causedBy); length = readPackedInt(input); result.addSuppressed(readObject(input, RemoteExceptionCause.class, cache, false)); readObject(input, String.class, cache, false), readObject(input, String.class, cache, false), readObject(input, String.class, cache, true), readPackedInt(input) );
public static RemoteExceptionCause readFromStream(DataInput input) throws IOException { return readObject(input, RemoteExceptionCause.class, new ArrayList<>(), false); }
public static RemoteExceptionCause readFromStream(DataInput input) throws IOException { return readObject(input, RemoteExceptionCause.class, new ArrayList<>(), false); }
String exClassName = readObject(input, String.class, cache, false); String exMessage = readObject(input, String.class, cache, true); int length = readPackedInt(input); StackTraceElement[] stackTrace; stackTrace = new StackTraceElement[length]; for (int i = 0; i < length; i++) { stackTrace[i] = readObject(input, StackTraceElement.class, cache, false); fields = Collections.emptyMap(); } else if (length == 1) { fields = Collections.singletonMap(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); } else { fields = new HashMap<>(length); for (int i = 0; i < length; i++) { fields.put(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); RemoteExceptionCause causedBy = readObject(input, RemoteExceptionCause.class, cache, true); result.initCause(causedBy); length = readPackedInt(input); result.addSuppressed(readObject(input, RemoteExceptionCause.class, cache, false)); readObject(input, String.class, cache, false), readObject(input, String.class, cache, false), readObject(input, String.class, cache, true), readPackedInt(input) );
String exClassName = readObject(input, String.class, cache, false); String exMessage = readObject(input, String.class, cache, true); int length = readPackedInt(input); StackTraceElement[] stackTrace; stackTrace = new StackTraceElement[length]; for (int i = 0; i < length; i++) { stackTrace[i] = readObject(input, StackTraceElement.class, cache, false); fields = Collections.emptyMap(); } else if (length == 1) { fields = Collections.singletonMap(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); } else { fields = new HashMap<>(length); for (int i = 0; i < length; i++) { fields.put(readObject(input, String.class, cache, false), readObject(input, String.class, cache, false)); RemoteExceptionCause causedBy = readObject(input, RemoteExceptionCause.class, cache, true); result.initCause(causedBy); length = readPackedInt(input); result.addSuppressed(readObject(input, RemoteExceptionCause.class, cache, false)); readObject(input, String.class, cache, false), readObject(input, String.class, cache, false), readObject(input, String.class, cache, true), readPackedInt(input) );