package at.ac.tuwien.lsdc.exception;

import at.ac.tuwien.lsdc.types.VirtualMachine;

/**
 * Exception to be thrown if a VM could not be resized.
 * 
 * @author jan
 * 
 */
public class VMResizeException extends Exception {
	private final VirtualMachine vm;

	public VMResizeException(String message, VirtualMachine vm) {
		super(message);
		this.vm = vm;
	}

	public VirtualMachine getVm() {
		return vm;
	}
}
