public Class<?> getTargetClass() {
        return targetClass;
    }
@Test
    void testConstructorWithTargetClassAndCause() {
        NacosDeserializationException exception = new NacosDeserializationException(
                NacosDeserializationExceptionTest.class, new RuntimeException("test"));
        assertEquals(Constants.Exception.DESERIALIZE_ERROR_CODE, exception.getErrCode());
        assertEquals(String.format("errCode: 101, errMsg: Nacos deserialize for class [%s] failed, cause error[%s].  ",
                NacosDeserializationExceptionTest.class.getName(), "test"), exception.getMessage());
        assertEquals(NacosDeserializationExceptionTest.class, exception.getTargetClass());
    }