static public method ErrorEvent.createConstructs and returns a new instance of the class with the provided name, event date, and error message
Declaration
protojavascriptjavacsharppublic static create(name : string, eventDate : datetime, errorMessage : string) : ErrorEvent
| Parameters | |
name |
A string that represents the name of the object instance being created |
eventDate |
The event date |
errorMessage |
A string represents the event message |
Returns
The method returns an instance of ErrorEvent class with the provided name, event date, and error message
See also: ErrorEvent
Declared in ErrorEvent