]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Changed org.simantics.db.layer0.util.SimanticsClipboard.Representation.getValue to...
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 21 Aug 2015 08:32:10 +0000 (08:32 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 21 Aug 2015 08:32:10 +0000 (08:32 +0000)
commit77e2823e06765b79ff44b86dfb47ced49fe2392e
treecbd7c9f8599ba29b1e7f54a455fb88504afe3c3d
parent3a6bb8f2feaf01d30cc9fb5804eeaaeab0eb19c2
Changed org.simantics.db.layer0.util.SimanticsClipboard.Representation.getValue to throw DatabaseExceptions to allow excepitons to be propagated out of ClipboardUtils.accept, etc. methods.

Previously all Reprensentation implementations had to internally catch any problems they experienced, which is just wrong.

refs #6001

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@31610 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/PasteSpecialHandler.java