Class PolylineException
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Exception thrown by Polyline when an operation is not possible on the current polyline: when the rectangle or parallelogram members are used on a polyline that is not one, when a polyline is set with less than two different points, or when start point, end point or directions are requested from a polyline without vertices. ExceptionType says which case it is.
public class PolylineException : ApplicationException, ISerializable
- Inheritance
-
PolylineException
- Implements
- Inherited Members
Constructors
PolylineException(string, PolylineExceptionType)
Creates the exception with a message and the reason.
public PolylineException(string message, PolylineException.PolylineExceptionType tp)
Parameters
messagestringDescription of the failure
tpPolylineException.PolylineExceptionTypeThe reason for the exception
Fields
ExceptionType
The reason for this exception.
public PolylineException.PolylineExceptionType ExceptionType