Skip to content

Commit 5c86a02

Browse files
committedSep 23, 2007
Minor: removed unused method.
SVN: trunk@3008
1 parent 3aff1f2 commit 5c86a02

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎src/NHibernate/ObjectNotFoundException.cs

-8
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ public ObjectNotFoundException(object identifier, System.Type type) : base(ident
2525

2626
public ObjectNotFoundException(object identifier, string entityName) : base(identifier, entityName) {}
2727

28-
public new static void ThrowIfNull(object o, object id, System.Type clazz)
29-
{
30-
if (o == null)
31-
{
32-
throw new ObjectNotFoundException(id, clazz);
33-
}
34-
}
35-
3628
#region ISerializable Members
3729

3830
/// <summary>

0 commit comments

Comments
 (0)