Event operations may throw an EventException as specified in
their method descriptions.
An integer indicating the type of error generated.
If the Event's type was not specified by initializing the
event before the method was called. Specification of the Event's type
as null or an empty string will also trigger this
exception.