If this method threw an exception and errs is empty, the exception will be propagated back to the servlet thread and then reported to the user.
Note: {@link #cleanup} is called first in the event processing thread,and then {@link #complete} is called in the servlet thread.Note: {@link #complete} of an {@link EventThreadCleanup} instance is calledonly if {@link #cleanup} called against the same instncedidn't throw any exception.
If the use of the event thread is disabled ( {@link org.zkoss.zk.ui.util.Configuration#isEventThreadEnabled}returns false), this method is also invoked in the Servlet thread. @param errs a list of exceptions (java.lang.Throwable) if any exceptionoccured before this method is called, or null if no exeption at all. Note: you can manipulate the list directly to add or clean up exceptions. For example, if exceptions are fixed correctly, you can call errs.clear() such that no error message will be displayed at the client.
|
|