Opened 11 years ago

Closed 11 years ago

#443 closed defect (fixed)

ERF.setParemeter(name, value) returns false when parameter not present, should throw exception

Reported by: Kevin Milner Owned by:
Priority: major Milestone: OpenSHA 1.3
Component: sha Version:
Keywords: Cc:


The current ERF.setParameter(name, value) method returns true if the parameter was set and false if the parameter is not present. This is dangerous programatically, and no classes currently check this value. An exception would be consistent with the other paremeter setting method: ERF.getParameter(name).setValue(value)

Change History (1)

comment:1 Changed 11 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

done in [10369]

Note: See TracTickets for help on using tickets.