Skip to content

Commit

Permalink
[dotnet] Remove obsolete exception ctors in support package
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Oct 5, 2024
1 parent aa827cb commit 5ec6408
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 156 deletions.
12 changes: 0 additions & 12 deletions dotnet/src/support/UI/LoadableComponentException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public LoadableComponentException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="LoadableComponentException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected LoadableComponentException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/support/UI/UnexpectedTagNameException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,5 @@ public UnexpectedTagNameException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="UnexpectedTagNameException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected UnexpectedTagNameException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/DetachedShadowRootException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public DetachedShadowRootException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="DetachedShadowRootException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected DetachedShadowRootException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementClickInterceptedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementClickInterceptedException(string message, Exception innerException
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementClickInterceptedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotInteractableException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotInteractableException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotInteractableException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotSelectableException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotSelectableException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotSelectableException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotVisibleException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotVisibleException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotVisibleException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotVisibleException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoAlertPresentException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public NoAlertPresentException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoAlertPresentException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoAlertPresentException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchDriverException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ public NoSuchDriverException(string message, Exception innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchDriverException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchDriverException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

/// <summary>
/// Add information about obtaining additional support from documentation to this exception.
/// </summary>
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchElementException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ public NoSuchElementException(string message, Exception innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchElementException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchElementException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

/// <summary>
/// Add information about obtaining additional support from documentation to this exception.
/// </summary>
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchFrameException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public NoSuchFrameException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchFrameException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchFrameException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchShadowRootException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public NoSuchShadowRootException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchShadowRootException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchShadowRootException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchWindowException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public NoSuchWindowException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchWindowException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchWindowException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}

0 comments on commit 5ec6408

Please sign in to comment.