Remove Exception that is never thrown/caught.

This commit is contained in:
hns 2003-01-27 18:14:12 +00:00
parent 829b8bccc3
commit e3061ffba2
2 changed files with 9 additions and 13 deletions

View file

@ -64,7 +64,7 @@ public final class Property implements IProperty, Serializable {
return null;
}
public void setStringValue (String value) throws ParseException {
public void setStringValue (String value) {
if (type == NODE)
this.nvalue = null;
if (type == JAVAOBJECT)
@ -116,6 +116,7 @@ public final class Property implements IProperty, Serializable {
this.nvalue = value;
}
public void setJavaObjectValue (Object value) {
if (type == NODE)
this.nvalue = null;
@ -124,7 +125,6 @@ public final class Property implements IProperty, Serializable {
}
public String getStringValue () {
switch (type) {
case STRING:

View file

@ -469,12 +469,8 @@ public class TransientNode implements INode, Serializable {
public void setString (String propname, String value) {
// IServer.getLogger().log ("setting String prop");
Property prop = initProperty (propname);
try {
prop.setStringValue (value);
// Server.throwNodeEvent (new NodeEvent (this, NodeEvent.PROPERTIES_CHANGED));
} catch (java.text.ParseException x) {
throw new RuntimeException ("Fehler beim Parsen des Datum-Strings");
}
lastmodified = System.currentTimeMillis ();
}