runtimes/crac/quotes-crac/src/main/java/com/example/quotes/web/CheckpointController.java [37:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	void checkpoint() {
		logger.info("Triggering JVM checkpoint/restore");
		try {
			Core.checkpointRestore();
		}
		catch (UnsupportedOperationException ex) {
			throw new ApplicationContextException("CRaC checkpoint not supported on current JVM", ex);
		}
		catch (CheckpointException ex) {
			throw new ApplicationContextException("Failed to take CRaC checkpoint on refresh", ex);
		}
		catch (RestoreException ex) {
			throw new ApplicationContextException("Failed to restore CRaC checkpoint on refresh", ex);
		}
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



runtimes/crac/reference-crac/src/main/java/com/example/reference/CheckpointController.java [37:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	void checkpoint() {
		logger.info("Triggering JVM checkpoint/restore");
		try {
			Core.checkpointRestore();
		}
		catch (UnsupportedOperationException ex) {
			throw new ApplicationContextException("CRaC checkpoint not supported on current JVM", ex);
		}
		catch (CheckpointException ex) {
			throw new ApplicationContextException("Failed to take CRaC checkpoint on refresh", ex);
		}
		catch (RestoreException ex) {
			throw new ApplicationContextException("Failed to restore CRaC checkpoint on refresh", ex);
		}
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



