/** * Checks whether no processing has been done yet and throws an exception when a client tries to * reuse this instance. */ private void checkReuse() { if (currentStep != NOT_STARTED) { detach(); throw new WicketRuntimeException( "RequestCycles are non-reusable objects. This instance (" + this + ") has already been executed"); } }
/** * Checks whether no processing has been done yet and throws an exception when a client tries to * reuse this instance. */ private void checkReuse() { if (currentStep != NOT_STARTED) { detach(); throw new WicketRuntimeException( "RequestCycles are non-reusable objects. This instance (" + this + ") already executed"); } }