private ErrorCodec(ClientMessage flyweight) { errorCode = flyweight.getInt(); className = flyweight.getStringUtf8(); boolean message_isNull = flyweight.getBoolean(); if (!message_isNull) { message = flyweight.getStringUtf8(); } int stackTraceCount = flyweight.getInt(); stackTrace = new StackTraceElement[stackTraceCount]; for (int i = 0; i < stackTraceCount; i++) { stackTrace[i] = StackTraceElementCodec.decode(flyweight); } causeErrorCode = flyweight.getInt(); boolean causeClassName_isNull = flyweight.getBoolean(); if (!causeClassName_isNull) { causeClassName = flyweight.getStringUtf8(); } }
private ErrorCodec(ClientMessage flyweight) { errorCode = flyweight.getInt(); className = flyweight.getStringUtf8(); boolean message_isNull = flyweight.getBoolean(); if (!message_isNull) { message = flyweight.getStringUtf8(); } int stackTraceCount = flyweight.getInt(); stackTrace = new StackTraceElement[stackTraceCount]; for (int i = 0; i < stackTraceCount; i++) { stackTrace[i] = StackTraceElementCodec.decode(flyweight); } causeErrorCode = flyweight.getInt(); boolean causeClassName_isNull = flyweight.getBoolean(); if (!causeClassName_isNull) { causeClassName = flyweight.getStringUtf8(); } }
private ErrorCodec(ClientMessage flyweight) { errorCode = flyweight.getInt(); className = flyweight.getStringUtf8(); boolean message_isNull = flyweight.getBoolean(); if (!message_isNull) { message = flyweight.getStringUtf8(); } int stackTraceCount = flyweight.getInt(); stackTrace = new StackTraceElement[stackTraceCount]; for (int i = 0; i < stackTraceCount; i++) { stackTrace[i] = StackTraceElementCodec.decode(flyweight); } causeErrorCode = flyweight.getInt(); boolean causeClassName_isNull = flyweight.getBoolean(); if (!causeClassName_isNull) { causeClassName = flyweight.getStringUtf8(); } }