class AbstractSerializer implements Serializer {

    protected SofaRpcException buildSerializeError(String message) {
        return new SofaRpcException(getErrorCode(true), LogCodes.getLog(LogCodes.ERROR_SERIALIZER, message));
    }

}