Skip to content

Commit 9da661e

Browse files
committed
Revert "Throw exception on wrong typeName"
This reverts commit 181b4bc.
1 parent 181b4bc commit 9da661e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NHibernate/Type/TypeFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,9 @@ public static IType HeuristicType(string typeName, IDictionary<string, string> p
582582
{
583583
typeClass = ReflectHelper.ClassForName(parsedTypeName[0]); //typeName);
584584
}
585-
catch (Exception ex)
585+
catch (Exception)
586586
{
587-
throw new MappingException("Could not find IType for given" + typeName + ": " + ex, ex);
587+
return null;
588588
}
589589
return HeuristicType(typeClass, parameters, length, false);
590590
}

0 commit comments

Comments
 (0)