Returns the appropriate
Exception object based on the
given
errorCode with the given
message text.
Namespace:
Stemmer.Cvb
Assembly:
Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
public static Exception FromCvbResult(
int errorCode,
string message
)
Public Shared Function FromCvbResult (
errorCode As Integer,
message As String
) As Exception
public:
static Exception^ FromCvbResult(
int errorCode,
String^ message
)
static member FromCvbResult :
errorCode : int *
message : string -> Exception
Parameters
- errorCode
- Type: SystemInt32
CVB result code smaller than zero. - message
- Type: SystemString
Human readable error reason.
Return Value
Type:
ExceptionAppropriate
Exception object.
Reference