Click or drag to resize

DuplicateRouteStopException Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Thrown when a duplicate RouteStop object is added to a route. See remarks.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Exceptions
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
[SerializableAttribute]
public class DuplicateRouteStopException : ArgumentException

The DuplicateRouteStopException type exposes the following members.

Constructors
  NameDescription
Public methodDuplicateRouteStopException(String)
Public methodDuplicateRouteStopException(LatLon, String)
Use this overload if no RouteStop is available to pass in as an argument.
Public methodDuplicateRouteStopException(RouteStop, String)
Use this overload if the route stop being passed in is not from an array or access to the array index is unavailable.
Public methodDuplicateRouteStopException(RouteStop, Int32, String)
Use this overload in preference to other constructors that do not supply a RouteStop. The RouteStop contains additional information.
Top
Properties
  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
The text that provides detail and insight as to what caused the error.
(Overrides ArgumentExceptionMessage.)
Public propertyParamName
Gets the name of the parameter that causes this exception.
(Inherited from ArgumentException.)
Public propertyRouteStop
The RouteStop that was added twice to a route.
Public propertyRouteStopIndex
The array index of the duplicate RouteStop object.
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Sets the SerializationInfo object with the parameter name and additional exception information.
(Inherited from ArgumentException.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Top
Remarks

Consider the route with three stops: a start, and two stops (one of which is visited twice). Suppose the route is traveled as follows:

[Start] -> [FirstStop] -> [SecondStop] -> [FirstStop]

To create this route one cannot simply add [FirstStop] to the route twice (due to the way stops are stored internally). Instead, one should create another RouteStop (with the same location as [FirstStop]) and add it to the route after [SecondStop].

See Clone.

See Also