You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SuppressMessage("Roslynator","RCS1194:Implement exception constructors",Justification="This exception is intended for use by consumers of the library, but additional constructors are not required for its intended usage.")]
21
-
[SuppressMessage("Design","CA1032:Implement standard exception constructors",Justification="Standard exception constructors are not necessary for the intended usage of this exception type.")]
/// Throws an <see cref="InvalidPolylineException"/> with a message indicating the position in the polyline where the error was detected.
38
+
/// Initializes a new instance of the <see cref="InvalidPolylineException"/> class with a specified error message and a reference to the inner exception that is the cause of this exception.
34
39
/// </summary>
35
-
/// <param name="position">
36
-
/// The zero-based index in the polyline string where the error occurred.
40
+
/// <param name="message">
41
+
/// The error message that explains the reason for the exception.
37
42
/// </param>
38
-
/// <exception cref="InvalidPolylineException">
39
-
/// Always thrown to indicate that the polyline is malformed at the specified position.
40
-
/// </exception>
41
-
internalstaticvoidThrow(longposition){
42
-
Debug.Assert(position>=0,"Position must be a non-negative value.");
43
-
44
-
ExceptionGuard.ThrowInvalidPolyline(position);
45
-
}
43
+
/// <param name="innerException">
44
+
/// The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
0 commit comments