public EgressRoute(int subid, int nodeid) {\r
this.subid = subid;\r
this.nodeid = nodeid;\r
- // Note: unlike for Feeds, it subscriptions can be removed from the tables, so it is\r
- // possible that an orphan ERT entry can exist if a sub is removed.\r
- // if (Subscription.getSubscriptionById(subid) == null)\r
- // throw new IllegalArgumentException("No such subscription: "+subid);\r
}\r
\r
public EgressRoute(int subid, String node) {\r
ps.setInt(1, this.subid);\r
ps.setInt(2, this.nodeid);\r
ps.execute();\r
- ps.close();\r
rv = true;\r
} catch (SQLException e) {\r
intlogger.warn("PROV0005 doInsert: " + e.getMessage(), e);\r