INNER CODE UNIT · Java

installCompensation

jolie/jolie · jolie/src/main/java/jolie/ExecutionThread.java:86

		public void installCompensation( Process process ) {
			compMap.put( id, process );
		}

		/**
		 * Installs a fault handler for a fault.
		 *
		 * @param faultName the fault name to install this handler for
		 * @param process the fault handler to install
		 */
		public void installFaultHandler( String faultName, Process process ) {
			faultMap.put( faultName, process );
		}

		/**
		 * Returns the installed fault handler for the specified fault name. If no fault handler is present,
		 * the default fault handler is returned instead. If there is no fault handler and there is no
		 * default fault handler, <code>null</code> is returned.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…