Create(Value: String);
Value. Error description.
The Create class creates an error instance.
The error description handled by the program and displayed in the IException.Message property is passed as the Value input parameter.
Sub UserProc;
Begin
Try
Raise New Exception.Create("Exception");
Except On E: Exception Do
Debug.WriteLine("The except block. Message text: ");
Debug.WriteLine(e.Message);
End Try;
End Sub UserProc;
After executing the example an exception is thrown.
See also: