---
title: NoContextException
summary: API reference for NoContextException.
status: draft
owner: saif-docgen
last_reviewed: 2026-09-15
library: SAIF.Framework.Common
reference_type: package
---

# NoContextException

Signals that no context/view could be resolved at all; defaults `TargetView` to `"NoContext"`. ([BR-048](../../business-rules.md#br-048-each-context-failure-condition-maps-to-a-fixed-default-target-view-name))

## Purpose
- Signals that no context/view could be resolved at all; defaults `TargetView` to `"NoContext"`. ([BR-048](../../business-rules.md#br-048-each-context-failure-condition-maps-to-a-fixed-default-target-view-name))

## Context
- Namespace: `SAIF.Common.Classes`
- Assembly/package: `SAIF.Framework.Common`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| NoContextException() | `public NoContextException()` | Sets `TargetView = "NoContext"`. |
| NoContextException(string targetView) | `public NoContextException(string targetView)` | Sets `TargetView` to the supplied value. |


## Sources
- `Common/SAIF.Common/Classes/ContextException.cs`
