Index: Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs
===================================================================
diff -u -re786dd8b8c7f833c217fdcddd909a616d590fe15 -r52d5e1c2609a6f84238d88e20aa135d28de24cb0
--- Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs (.../XElementExtensions.cs) (revision e786dd8b8c7f833c217fdcddd909a616d590fe15)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Readers/XElementExtensions.cs (.../XElementExtensions.cs) (revision 52d5e1c2609a6f84238d88e20aa135d28de24cb0)
@@ -94,9 +94,12 @@
/// The name of the descendant element.
/// The converted value, or null when the
/// does not have descendant elements of .
+ /// Thrown when calling .
+ /// results in an exception being thrown.
/// Thrown when any parameter is null.
/// Thrown when the conversion cannot be performed.
- public static object GetConvertedValueFromDescendantStringElement(this XElement parentElement, string descendantElementName) where TConverter : TypeConverter, new()
+ public static object GetConvertedValueFromDescendantStringElement(this XElement parentElement, string descendantElementName)
+ where TConverter : TypeConverter, new()
{
string stringValue = parentElement.GetStringValueFromDescendantElement(descendantElementName);
if (stringValue == null)
@@ -114,9 +117,16 @@
/// The name of the descendant element.
/// The converted value, or null when the
/// does not have descendant elements of .
+ /// Thrown when calling .
+ /// results in an exception being thrown.
/// Thrown when any parameter is null.
+ /// Thrown when the value from a descendant element is
+ /// not in the correct format.
+ /// Thrown when the value from a descendant element
+ /// represents a number less than or greater than .
/// Thrown when the conversion cannot be performed.
- public static object GetConvertedValueFromDescendantDoubleElement(this XElement parentElement, string descendantElementName) where TConverter : TypeConverter, new()
+ public static object GetConvertedValueFromDescendantDoubleElement(this XElement parentElement, string descendantElementName)
+ where TConverter : TypeConverter, new()
{
double? doubleValue = parentElement.GetDoubleValueFromDescendantElement(descendantElementName);
if (doubleValue == null)