Skip to content

Commit 527ed3c

Browse files
nvborisenkoM1troll
authored andcommitted
[dotnet] Remove obsolete exception ctors in support package
1 parent b4a6663 commit 527ed3c

13 files changed

+0
-156
lines changed

dotnet/src/support/UI/LoadableComponentException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public LoadableComponentException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="LoadableComponentException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected LoadableComponentException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/support/UI/UnexpectedTagNameException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,5 @@ public UnexpectedTagNameException(string message, Exception innerException)
6969
: base(message, innerException)
7070
{
7171
}
72-
73-
/// <summary>
74-
/// Initializes a new instance of the <see cref="UnexpectedTagNameException"/> class with serialized data.
75-
/// </summary>
76-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
77-
/// object data about the exception being thrown.</param>
78-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
79-
/// information about the source or destination.</param>
80-
protected UnexpectedTagNameException(SerializationInfo info, StreamingContext context)
81-
: base(info, context)
82-
{
83-
}
8472
}
8573
}

dotnet/src/webdriver/DetachedShadowRootException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public DetachedShadowRootException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="DetachedShadowRootException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected DetachedShadowRootException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/ElementClickInterceptedException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public ElementClickInterceptedException(string message, Exception innerException
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected ElementClickInterceptedException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/ElementNotInteractableException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public ElementNotInteractableException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected ElementNotInteractableException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/ElementNotSelectableException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public ElementNotSelectableException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected ElementNotSelectableException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/ElementNotVisibleException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public ElementNotVisibleException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="ElementNotVisibleException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected ElementNotVisibleException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/NoAlertPresentException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,5 @@ public NoAlertPresentException(string message, Exception innerException)
5757
: base(message, innerException)
5858
{
5959
}
60-
61-
/// <summary>
62-
/// Initializes a new instance of the <see cref="NoAlertPresentException"/> class with serialized data.
63-
/// </summary>
64-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
65-
/// object data about the exception being thrown.</param>
66-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
67-
/// information about the source or destination.</param>
68-
protected NoAlertPresentException(SerializationInfo info, StreamingContext context)
69-
: base(info, context)
70-
{
71-
}
7260
}
7361
}

dotnet/src/webdriver/NoSuchDriverException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,6 @@ public NoSuchDriverException(string message, Exception innerException)
6464
{
6565
}
6666

67-
/// <summary>
68-
/// Initializes a new instance of the <see cref="NoSuchDriverException"/> class with serialized data.
69-
/// </summary>
70-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
71-
/// object data about the exception being thrown.</param>
72-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
73-
/// information about the source or destination.</param>
74-
protected NoSuchDriverException(SerializationInfo info, StreamingContext context)
75-
: base(info, context)
76-
{
77-
}
78-
7967
/// <summary>
8068
/// Add information about obtaining additional support from documentation to this exception.
8169
/// </summary>

dotnet/src/webdriver/NoSuchElementException.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,6 @@ public NoSuchElementException(string message, Exception innerException)
6464
{
6565
}
6666

67-
/// <summary>
68-
/// Initializes a new instance of the <see cref="NoSuchElementException"/> class with serialized data.
69-
/// </summary>
70-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
71-
/// object data about the exception being thrown.</param>
72-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
73-
/// information about the source or destination.</param>
74-
protected NoSuchElementException(SerializationInfo info, StreamingContext context)
75-
: base(info, context)
76-
{
77-
}
78-
7967
/// <summary>
8068
/// Add information about obtaining additional support from documentation to this exception.
8169
/// </summary>

0 commit comments

Comments
 (0)