[dotnet] Remove obsolete exception ctors in support package
diff --git a/dotnet/src/support/UI/LoadableComponentException.cs b/dotnet/src/support/UI/LoadableComponentException.cs
index 64354a2..305543f 100644
--- a/dotnet/src/support/UI/LoadableComponentException.cs
+++ b/dotnet/src/support/UI/LoadableComponentException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/support/UI/UnexpectedTagNameException.cs b/dotnet/src/support/UI/UnexpectedTagNameException.cs
index 9cea8a3..9fc85a8 100644
--- a/dotnet/src/support/UI/UnexpectedTagNameException.cs
+++ b/dotnet/src/support/UI/UnexpectedTagNameException.cs
@@ -69,17 +69,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/DetachedShadowRootException.cs b/dotnet/src/webdriver/DetachedShadowRootException.cs
index 43608ca..d8af8c1 100644
--- a/dotnet/src/webdriver/DetachedShadowRootException.cs
+++ b/dotnet/src/webdriver/DetachedShadowRootException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/ElementClickInterceptedException.cs b/dotnet/src/webdriver/ElementClickInterceptedException.cs
index 12d073e..f937dc5 100644
--- a/dotnet/src/webdriver/ElementClickInterceptedException.cs
+++ b/dotnet/src/webdriver/ElementClickInterceptedException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/ElementNotInteractableException.cs b/dotnet/src/webdriver/ElementNotInteractableException.cs
index f7ccf80..65ae539 100644
--- a/dotnet/src/webdriver/ElementNotInteractableException.cs
+++ b/dotnet/src/webdriver/ElementNotInteractableException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/ElementNotSelectableException.cs b/dotnet/src/webdriver/ElementNotSelectableException.cs
index 3574fc6..68fa2b7 100644
--- a/dotnet/src/webdriver/ElementNotSelectableException.cs
+++ b/dotnet/src/webdriver/ElementNotSelectableException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/ElementNotVisibleException.cs b/dotnet/src/webdriver/ElementNotVisibleException.cs
index 8f27ec0..43f815a 100644
--- a/dotnet/src/webdriver/ElementNotVisibleException.cs
+++ b/dotnet/src/webdriver/ElementNotVisibleException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/NoAlertPresentException.cs b/dotnet/src/webdriver/NoAlertPresentException.cs
index 5573c60..72c9600 100644
--- a/dotnet/src/webdriver/NoAlertPresentException.cs
+++ b/dotnet/src/webdriver/NoAlertPresentException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/NoSuchDriverException.cs b/dotnet/src/webdriver/NoSuchDriverException.cs
index c665131..9bd0bf0 100644
--- a/dotnet/src/webdriver/NoSuchDriverException.cs
+++ b/dotnet/src/webdriver/NoSuchDriverException.cs
@@ -65,18 +65,6 @@
}
/// <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>
/// <param name="message">The original message for exception</param>
diff --git a/dotnet/src/webdriver/NoSuchElementException.cs b/dotnet/src/webdriver/NoSuchElementException.cs
index ab61502..cfce90e 100644
--- a/dotnet/src/webdriver/NoSuchElementException.cs
+++ b/dotnet/src/webdriver/NoSuchElementException.cs
@@ -65,18 +65,6 @@
}
/// <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>
/// <param name="message">The original message for exception</param>
diff --git a/dotnet/src/webdriver/NoSuchFrameException.cs b/dotnet/src/webdriver/NoSuchFrameException.cs
index 6cd8d57..a3c98ce 100644
--- a/dotnet/src/webdriver/NoSuchFrameException.cs
+++ b/dotnet/src/webdriver/NoSuchFrameException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/NoSuchShadowRootException.cs b/dotnet/src/webdriver/NoSuchShadowRootException.cs
index e008da1..32398d6 100644
--- a/dotnet/src/webdriver/NoSuchShadowRootException.cs
+++ b/dotnet/src/webdriver/NoSuchShadowRootException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}
diff --git a/dotnet/src/webdriver/NoSuchWindowException.cs b/dotnet/src/webdriver/NoSuchWindowException.cs
index a9674d4..410d187 100644
--- a/dotnet/src/webdriver/NoSuchWindowException.cs
+++ b/dotnet/src/webdriver/NoSuchWindowException.cs
@@ -57,17 +57,5 @@
: 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)
- {
- }
}
}