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