modules/ballerina-native/src/main/java/org/ballerinalang/nativeimpl/lang/utils/ErrorHandler.java
public static void handleNonExistingJsonpPath(String operation, String jsonPath, Exception e) {
        // TODO : Fix this properly when BNull comes. Until then we throw BallerinaException.
        throw new BallerinaException("Failed to " + operation + ". Jsonpath " + jsonPath +
                " does not match any element: " + e.getMessage());
    }
/**
     * Handle non-existing jsonpath exceptions.
     * 
     * @param operation Operation that executed
     * @param jsonPath  Jsonpath
     * @param e         Exception to handle
     */
Handle non-existing jsonpath exceptions.

@param operation Operation that executed
@param jsonPath  Jsonpath
@param e         Exception to handle
Handle non - existing jsonpath exceptions . @param operation Operation that executed @param jsonPath Jsonpath @param e Exception to handle
public static void handleNonExistingJsonpPath(String operation, String jsonPath, Exception e) {
        throw new BallerinaException("Failed to " + operation + ". Jsonpath " + jsonPath +
                " does not match any element: " + e.getMessage());
    }
public static void handleNonExistingJsonpPath ( String operation , String jsonPath , Exception e ) { throw new BallerinaException ( "Failed to " + operation + ". Jsonpath " + jsonPath + " does not match any element: " + e . getMessage ( ) ) ; }
Handle non-existing jsonpath exceptions.
Handle non - existing jsonpath exceptions .
// TODO : Fix this properly when BNull comes. Until then we throw BallerinaException.