Update EntityEventHandler.java

This should probably be the Exception and not the Error.