Skip to content

Commit e56b7b6

Browse files
committed
Added properly spelled DeviceSubscriptionExpiredException class
This subclasses the now obsoleted and typo'd `DeviceSubscriptonExpiredException` class to maintain backwards compatibility and no current API breakages.
1 parent b010788 commit e56b7b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

PushSharp.Core/Exceptions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
namespace PushSharp.Core
55
{
6+
public class DeviceSubscriptionExpiredException : DeviceSubscriptonExpiredException
7+
{
8+
public DeviceSubscriptionExpiredException (INotification notification) : base (notification)
9+
{
10+
}
11+
}
12+
13+
[Obsolete ("Do not use this class directly, it has a typo in it, instead use DeviceSubscriptionExpiredException")]
614
public class DeviceSubscriptonExpiredException : NotificationException
715
{
816
public DeviceSubscriptonExpiredException (INotification notification) : base ("Device Subscription has Expired", notification)

0 commit comments

Comments
 (0)