Skip to content

Commit 64a2edc

Browse files
committed
more specific exceptions thrown
1 parent 3ba54bb commit 64a2edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/DatacenterMO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public DatacenterMO(VmwareContext context, String dcName) throws InvalidProperty
6969
}
7070

7171
@Override
72-
public String getName() throws Exception {
72+
public String getName() throws InvalidPropertyFaultMsg, RuntimeFaultFaultMsg, InvocationTargetException, NoSuchMethodException, IllegalAccessException {
7373
return _context.getVimClient().getDynamicProperty(_mor, "name");
7474
}
7575

0 commit comments

Comments
 (0)