Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IllustrationPoints/IllustrationPointNodeCreateExtensions.cs
===================================================================
diff -u -r6c55d7ddb950eb8e434b9564367bffd9788876f8 -race63dd1e2a052cb8774347958f3f2e2013c7400
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IllustrationPoints/IllustrationPointNodeCreateExtensions.cs (.../IllustrationPointNodeCreateExtensions.cs) (revision 6c55d7ddb950eb8e434b9564367bffd9788876f8)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/IllustrationPoints/IllustrationPointNodeCreateExtensions.cs (.../IllustrationPointNodeCreateExtensions.cs) (revision ace63dd1e2a052cb8774347958f3f2e2013c7400)
@@ -44,7 +44,7 @@
/// A new .
/// Thrown when
/// is null.
- /// Thrown when
+ /// Thrown when
/// is not of type .
public static FaultTreeIllustrationPointEntity Create(
this IllustrationPointNode illustrationPointNode,
@@ -58,7 +58,7 @@
var faultTreeIllustrationPoint = illustrationPointNode.Data as FaultTreeIllustrationPoint;
if (faultTreeIllustrationPoint == null)
{
- throw new InvalidOperationException($"Illustration point type '{illustrationPointNode.Data.GetType()}' is not supported.");
+ throw new NotSupportedException($"Illustration point type '{illustrationPointNode.Data.GetType()}' is not supported.");
}
FaultTreeIllustrationPointEntity entity = CreateFaultTreeIllustrationPoint(faultTreeIllustrationPoint,