Skip to content

Commit

Permalink
Added properly spelled DeviceSubscriptionExpiredException class
Browse files Browse the repository at this point in the history
This subclasses the now obsoleted and typo'd `DeviceSubscriptonExpiredException` class to maintain backwards compatibility and no current API breakages.
  • Loading branch information
Redth committed Mar 23, 2016
1 parent b010788 commit e56b7b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions PushSharp.Core/Exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

namespace PushSharp.Core
{
public class DeviceSubscriptionExpiredException : DeviceSubscriptonExpiredException
{
public DeviceSubscriptionExpiredException (INotification notification) : base (notification)
{
}
}

[Obsolete ("Do not use this class directly, it has a typo in it, instead use DeviceSubscriptionExpiredException")]
public class DeviceSubscriptonExpiredException : NotificationException
{
public DeviceSubscriptonExpiredException (INotification notification) : base ("Device Subscription has Expired", notification)
Expand Down

0 comments on commit e56b7b6

Please sign in to comment.