Table of Contents

Class Curve2DException

Namespace
CADability.Curve2D
Assembly
CADability.dll

Exception thrown by operations on 2d curves (ICurve2D) that cannot be carried out, e.g. setting the start point of a full circle or computing the parallel of a line with zero length. ExceptionType tells the kind of failure.

public class Curve2DException : ApplicationException, ISerializable
Inheritance
Curve2DException
Implements
Inherited Members

Constructors

Curve2DException(string, Curve2DExceptionType)

Creates the exception.

public Curve2DException(string message, Curve2DException.Curve2DExceptionType tp)

Parameters

message string

the message describing the failure

tp Curve2DException.Curve2DExceptionType

the kind of failure, stored in ExceptionType

Fields

ExceptionType

The kind of failure, as passed to the constructor.

public Curve2DException.Curve2DExceptionType ExceptionType

Field Value

Curve2DException.Curve2DExceptionType