public Class<?> getSerializedClass() {
        return serializedClass;
    }
@Test
    void testConstructorWithCause() {
        NacosSerializationException exception = new NacosSerializationException(new RuntimeException("test"));
        assertEquals(Constants.Exception.SERIALIZE_ERROR_CODE, exception.getErrCode());
        assertEquals("errCode: 100, errMsg: Nacos serialize failed.  ", exception.getMessage());
        assertNull(exception.getSerializedClass());
    }