# < Summary

Information

Class: | Renci.SshNet.Common.ExceptionEventArgs
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ExceptionEventArgs.cs

Line coverage
100%

Covered lines: | 5
Uncovered lines: | 0
Coverable lines: | 5
Total lines: | 27
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 100%
get_Exception() | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ExceptionEventArgs.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet.Common`
|  | `4` |  | `{`
|  | `5` |  | `/// <summary>`
|  | `6` |  | `/// Provides data for the ErrorOccured events.`
|  | `7` |  | `/// </summary>`
|  | `8` |  | `public class ExceptionEventArgs : EventArgs`
|  | `9` |  | `{`
|  | `10` |  | `/// <summary>`
|  | `11` |  | `/// Initializes a new instance of the <see cref="ExceptionEventArgs"/> class.`
|  | `12` |  | `/// </summary>`
|  | `13` |  | `/// <param name="exception">An System.Exception that represents the error that occurred.</param>`
| 596 | `14` |  | `public ExceptionEventArgs(Exception exception)`
| 596 | `15` |  | `{`
| 596 | `16` |  | `Exception = exception;`
| 596 | `17` |  | `}`
|  | `18` |  | ``
|  | `19` |  | `/// <summary>`
|  | `20` |  | `/// Gets the <see cref="Exception"/> that represents the error that occurred.`
|  | `21` |  | `/// </summary>`
|  | `22` |  | `/// <value>`
|  | `23` |  | `/// The <see cref="Exception"/> that represents the error that occurred.`
|  | `24` |  | `/// </value>`
| 203 | `25` |  | `public Exception Exception { get; }`
|  | `26` |  | `}`
|  | `27` |  | `}`

# Methods/Properties

.ctor(System.Exception)
get_Exception()