Code example for ServiceException

0
	} 
 
	@Override 
	public <R extends Service> R initiateService(ServiceInitiator<R> serviceInitiator) {
		// the bootstrap registry should currently be made up of only directly built services. 
		throw new ServiceException( "Boot-strap registry should only contain directly built services" );
	} 
 
} 
Experience pair programming with AI  Get Codota for Java