public boolean isGenericShutdown(Throwable cause) {
		while (cause != null) {
			if ((cause.getClass().getName().equals("net.grinder.engine.process.ShutdownException"))
					|| (cause instanceof Sleeper.ShutdownException)) {
				return true;
			}
			cause = cause.getCause();
		}
		return false;
	}
Return true if the given {@link Throwable} is by the generic grinder
shutdown event.

@param cause	cause
@return true if generic shutdown
ngrinder-groovy/src/main/java/net/grinder/scriptengine/exception/AbstractExceptionProcessor.java