clean up disableVlanNetwork

This commit is contained in:
anthony 2010-08-29 15:43:18 -07:00
parent 75c9ca4b97
commit cfedc7c18f
1 changed files with 2 additions and 5 deletions

View File

@ -17,6 +17,7 @@
*/
package com.cloud.hypervisor.xen.resource;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
@ -3358,13 +3359,9 @@ public abstract class CitrixResourceBase implements StoragePoolResource, ServerR
} catch (XenAPIException e) {
String msg = "Unable to disable VLAN network due to " + e.toString();
s_logger.warn(msg, e);
throw new InternalErrorException(msg);
} catch (XmlRpcException e) {
} catch (Exception e) {
String msg = "Unable to disable VLAN network due to " + e.getMessage();
s_logger.warn(msg, e);
throw new InternalErrorException(msg);
} catch (Exception e) {
throw new InternalErrorException(e.getMessage());
}
}