
    public NotAuthorizedException(String propertyName, String id, CodeException code) {
        super(code.getMessage());
        this.code = code;
        LOGGER.info("{}: {} - Reason: {}", propertyName, id, code);
    }