> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method DisplayException

Namespace: [Phoenix.ComponentPlugInSDK](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentPlugInSDK)\
Assembly: Phoenix.ComponentPlugInSDK.dll

## DisplayException(Exception)

Given an Exception, display an appropriate error dialog to the user and log the full stack trace
to the logs.

```csharp theme={null}
protected void DisplayException(Exception ex)

```

### Parameters

`ex` [Exception](https://learn.microsoft.com/dotnet/api/system.exception)

The Exception to display to the user
