Book a Demo

Author Topic: GetDiagramByGuid throws exception if not found?  (Read 3358 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
GetDiagramByGuid throws exception if not found?
« on: May 28, 2009, 06:35:02 pm »
In EA 7.5 (844) - on my machine - Repository.GetDiagramByGuid throws an exception if the diagram with that GUID doesn't exist, rather than return a null object.  Is this by design or has a bug crept in?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!