Skip to content

Commit

Permalink
Merge pull request #1 from sushihangover/develop
Browse files Browse the repository at this point in the history
Fix Exception class names
  • Loading branch information
sushihangover authored Dec 8, 2016
2 parents a26d0d3 + 9a7f6dc commit e328e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RealmThread.Shared/RealmThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void BeginTransaction()
/// </summary>
public void CommitTransaction()
{
if (!InTransaction) throw new RealmThreaNoTransaction("No active transaction on this thread");
if (!InTransaction) throw new RealmThreadNotInTransaction("No active transaction on this thread");

Action<Realms.Realm> action = r =>
{
Expand All @@ -151,7 +151,7 @@ public void CommitTransaction()
/// </summary>
public void RollbackTransaction()
{
if (!InTransaction) throw new RealmThreaNoTransaction("No active transaction on this thread");
if (!InTransaction) throw new RealmThreadNotInTransaction("No active transaction on this thread");

Action<Realms.Realm> action = (r) =>
{
Expand Down

0 comments on commit e328e54

Please sign in to comment.