public Class<?> getSerializedClass() {
        return serializedClass;
    }
@Test
    void testConstructorWithSerializedClassAndCause() {
        NacosSerializationException exception = new NacosSerializationException(NacosSerializationExceptionTest.class,
                new RuntimeException("test"));
        assertEquals(Constants.Exception.SERIALIZE_ERROR_CODE, exception.getErrCode());
        assertEquals(String.format("errCode: 100, errMsg: Nacos serialize for class [%s] failed.  ",
                NacosSerializationExceptionTest.class.getName(), "test"), exception.getMessage());
        assertEquals(NacosSerializationExceptionTest.class, exception.getSerializedClass());
    }