When Denied Policies and Analytics Both are enabled, enforcer results in Null Pointer Error 
### Description:
$subject.  

### Steps to reproduce:
Enable analytics and start the microgateway.
Enable denied policy.

### Affected Product Version:
choreo-connect-0.9.0-beta

### Environment details (with versions):
- OS:
- Client:
- Env (Docker/K8s):

---
### Optional Fields
#### Related Issues:
<!-- Any related issues from this/other repositories-->

#### Suggested Labels:
<!--Only to be used by non-members-->

#### Suggested Assignees:
<!--Only to be used by non-members-->

diff --git a/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java b/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
index 87b3dd2b5..f7c1c5f49 100644
--- a/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
+++ b/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
@@ -76,6 +76,14 @@ public class ChoreoFaultAnalyticsProvider implements AnalyticsDataProvider {
             switch (statusCode) {
                 case 401:
                 case 403:
+                    // For Denied policies, the status code remains 403, but it is categorized
+                    // under throttling
+                    if (requestContext.getProperties().containsKey(APIConstants.MessageFormat.ERROR_CODE)) {
+                        if (AnalyticsConstants.BLOCKED_ERROR_CODE == Integer.parseInt(requestContext.getProperties()
+                                        .get(APIConstants.MessageFormat.ERROR_CODE).toString())) {
+                            return FaultCategory.THROTTLED;
+                        }
+                    }
                     return FaultCategory.AUTH;
                 case 429:
                     return FaultCategory.THROTTLED;
['enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java']