Code example for ExecutionException

0
		exception = null; 
	} 
 
	public ImmediateFuture(Exception e) { 
		value = null; 
		exception = new ExecutionException(e); 
	} 
 
	public boolean cancel(boolean mayInterruptIfRunning) { 
		return false; 
	} 
 
	public Boolean get() throws InterruptedException, ExecutionException { 
		if(exception != null) { 
			throw exception; 
		} 
		return value; 
	} 
 
	public Boolean get(long timeout, TimeUnit unit) 
			throws InterruptedException, ExecutionException,