else if ( event instanceof MonitorWaitEvent )
{
MonitorWaitEvent waitEvent = (MonitorWaitEvent) event;
handler.onMonitorBeginWait( suspension, event.virtualMachine(), waitEvent.thread(),
(MonitorWaitRequest) event.request(), waitEvent.monitor(),
waitEvent.timeout(), waitEvent.location() );
}
else if ( event instanceof MonitorWaitedEvent )
{
MonitorWaitedEvent waitedEvent = (MonitorWaitedEvent) event;
handler.onMonitorEndWait( suspension, event.virtualMachine(), waitedEvent.thread(),