Code example for InvocationTargetException

Methods: getMessage

0
		} catch (IllegalAccessException e) {
			// should not be possible 
			throw new RuntimeException("Failed to clone existing installation details builder: " + e.getMessage(), e);
		} catch (InvocationTargetException e) {
			// should not be possible 
			throw new RuntimeException("Failed to clone existing installation details builder: " + e.getMessage(), e);
		} 
		return copy;
	} 
 
	public void setMachineDetails(final MachineDetails md) {
		this.md = md;
	} 
 
	public void setCloud(final Cloud cloud) {
		this.cloud = cloud;
	} 
 
	public void setTemplate(final ComputeTemplate template) {
		this.template = template;
Contextual code suggestions in your IDE  Get Codota for Java