Catch eventual exceptions in AnimationFactory::AnimationFor()
Revert the revertion. AnimationFactory::AnimationFor() now catches
any exceptions, so it's safe to check the return value only.
Revert "Revert "Remove try..catch block, not needed anymore.""

This reverts commit 0b255ddf043555fd65fee9e6b2834ee437bd8268.