changeset 39 | 0efa1d506f28 |
parent 38 | fe84b5081ba2 |
child 44 | 9c6ea1f246da |
--- a/src/FingersDance.ActionFactory/ActionFactory.cs Sun Sep 06 19:53:24 2009 +0200 +++ b/src/FingersDance.ActionFactory/ActionFactory.cs Mon Sep 07 18:41:31 2009 +0200 @@ -18,14 +18,7 @@ public ActionBase GetAction(string T, object Args) { - try - { - return (ActionBase)Activator.CreateInstance(actionDict[T]); - } - catch (Exception) - { - return null; - } + return (ActionBase)Activator.CreateInstance(actionDict[T]); } } }