fix NPE when failed to start VM

This commit is contained in:
Edison Su 2011-03-01 13:24:23 -05:00
parent a1aebfd586
commit e9b2ac63d0
1 changed files with 3 additions and 1 deletions

View File

@ -33,8 +33,10 @@ public abstract class InsufficientCapacityException extends Exception {
super();
}
public InsufficientCapacityException(String msg, Class<?> type, Long id) {
public InsufficientCapacityException(String msg, Class<?> scope, Long id) {
super(msg);
this.scope = scope;
this.id = id;
}
/**