public Class<?> getTargetClass() {
        return targetClass;
    }
@Test
    void testConstructorWithTargetType() {
        Type type = SimpleType.constructUnsafe(NacosDeserializationExceptionTest.class);
        NacosDeserializationException exception = new NacosDeserializationException(type);
        assertEquals(Constants.Exception.DESERIALIZE_ERROR_CODE, exception.getErrCode());
        assertEquals(
                String.format("errCode: 101, errMsg: Nacos deserialize for class [%s] failed.  ", type.getTypeName()),
                exception.getMessage());
        assertNull(exception.getTargetClass());
    }