--- projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/CPU__Monitor.java 2001/03/02 00:35:52 1.3 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/CPU__Monitor.java 2001/03/02 01:01:41 1.4 @@ -10,8 +10,8 @@ import uk.ac.ukc.iscream.componentmanager.*; /** * This Monitor watches the CPU load for all machines * - * @author $Author: tdb $ - * @version $Id: CPU__Monitor.java,v 1.3 2001/03/02 00:35:52 tdb Exp $ + * @author $Author: ajm $ + * @version $Id: CPU__Monitor.java,v 1.4 2001/03/02 01:01:41 ajm Exp $ */ public class CPU__Monitor implements Monitor { @@ -20,7 +20,7 @@ public class CPU__Monitor implements Monitor { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.3 $"; + public final String REVISION = "$Revision: 1.4 $"; public final String DESC = "Monitors CPU."; @@ -38,7 +38,10 @@ public class CPU__Monitor implements Monitor { _levels[x] = Double.parseDouble(config.getProperty("Monitor.CPU.level." + x)); } catch (NumberFormatException e) { _levels[x] = -1; + } catch (org.omg.CORBA.MARSHAL e2) { + _levels[x] = -1; } + } } //---PUBLIC METHODS---