]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/exception/VMResizeException.java
Adding debug count for started / stopped
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / exception / VMResizeException.java
1 package at.ac.tuwien.lsdc.exception;
2
3 import at.ac.tuwien.lsdc.types.VirtualMachine;
4
5 /**
6  * Exception to be thrown if a VM could not be resized.
7  * 
8  * @author jan
9  * 
10  */
11 public class VMResizeException extends Exception {
12         private final VirtualMachine vm;
13
14         public VMResizeException(String message, VirtualMachine vm) {
15                 super(message);
16                 this.vm = vm;
17         }
18
19         public VirtualMachine getVm() {
20                 return vm;
21         }
22 }