IndustrialDragonfly / DEdC

Collaborative DFD Editor
MIT License
6 stars 1 forks source link

Node and Link (and any others) objects need to throw exceptions on constructions #36

Closed eugene-davis closed 10 years ago

eugene-davis commented 10 years ago

If node, link or any other object do not have the correct parameters input, they should all throw a exception. If an exception already exists for bad constructor parameters (as opposed to just bad function) that should be used, otherwise the bad function call exception should be extended into this case.