public Class<?> getTargetClass() {
        return targetClass;
    }
@Test
    void testConstructorWithTargetTypeAndCause() {
        Type type = SimpleType.constructUnsafe(NacosDeserializationExceptionTest.class);
        NacosDeserializationException exception = new NacosDeserializationException(type, 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].  ",
                type.getTypeName(), "test"), exception.getMessage());
        assertNull(exception.getTargetClass());
    }