Create a new exception with message, function name and error code

Namespace: ASCOM.Astrometry.Exceptions
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public NOVASFunctionException(
	string message,
	string FuncName,
	short ErrCode
)
Visual Basic
Public Sub New ( _
	message As String, _
	FuncName As String, _
	ErrCode As Short _
)
Visual C++
public:
NOVASFunctionException(
	String^ message, 
	String^ FuncName, 
	short ErrCode
)

Parameters

message
Type: System..::..String
Message to be reported by the exception
FuncName
Type: System..::..String
Name of the NOVAS function giving rise to the exception
ErrCode
Type: System..::..Int16
Error code returned by the NOVAS function

Remarks