Throw helpful exception rather than NPE
Do not throw NPE if destination of Edge is a different type to Item (if multiple types may be connected)