public class ErrorCodec extends Object
Modifier and Type | Field and Description |
---|---|
String |
causeClassName |
int |
causeErrorCode |
String |
className |
int |
errorCode |
String |
message |
StackTraceElement[] |
stackTrace |
static int |
TYPE
ClientMessageType of this message
|
Modifier and Type | Method and Description |
---|---|
static int |
calculateDataSize(int errorCode,
String className,
String message,
StackTraceElement[] stackTrace,
int causeErrorCode,
String causeClassName) |
static ErrorCodec |
decode(ClientMessage flyweight) |
static ClientMessage |
encode(int errorCode,
String className,
String message,
StackTraceElement[] stackTrace,
int causeErrorCode,
String causeClassName) |
public static final int TYPE
public int errorCode
public String className
public String message
public StackTraceElement[] stackTrace
public int causeErrorCode
public String causeClassName
public static ErrorCodec decode(ClientMessage flyweight)
public static ClientMessage encode(int errorCode, String className, String message, StackTraceElement[] stackTrace, int causeErrorCode, String causeClassName)
public static int calculateDataSize(int errorCode, String className, String message, StackTraceElement[] stackTrace, int causeErrorCode, String causeClassName)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.