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.
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.