22
33namespace PushSharp . Core
44{
5- public class DeviceSubscriptonExpiredException : Exception
6- {
7- public DeviceSubscriptonExpiredException ( ) : base ( "Device Subscription has Expired" )
8- {
5+ public class DeviceSubscriptonExpiredException : Exception
6+ {
7+ public DeviceSubscriptonExpiredException ( ) : base ( "Device Subscription has Expired" )
8+ {
99 ExpiredAt = DateTime . UtcNow ;
10- }
10+ }
1111
12- public string OldSubscriptionId { get ; set ; }
13- public string NewSubscriptionId { get ; set ; }
14- public DateTime ExpiredAt { get ; set ; }
15- }
12+ public string OldSubscriptionId { get ; set ; }
13+ public string NewSubscriptionId { get ; set ; }
14+ public DateTime ExpiredAt { get ; set ; }
15+ }
1616
17- public class NotificationException : Exception
18- {
19- public NotificationException ( string message , INotification notification ) : base ( message )
20- {
21- Notification = notification ;
22- }
17+ public class NotificationException : Exception
18+ {
19+ public NotificationException ( string message , INotification notification ) : base ( message )
20+ {
21+ Notification = notification ;
22+ }
2323
24- public NotificationException ( string message , INotification notification , Exception innerException )
25- : base ( message , innerException )
24+ public NotificationException ( string message , INotification notification , Exception innerException )
25+ : base ( message , innerException )
2626 {
2727 Notification = notification ;
2828 }
2929
30- public INotification Notification { get ; set ; }
31- }
30+ public INotification Notification { get ; set ; }
31+ }
3232
3333 public class RetryAfterException : Exception
3434 {
@@ -37,7 +37,6 @@ public RetryAfterException (string message, DateTime retryAfterUtc) : base (mess
3737 RetryAfterUtc = retryAfterUtc ;
3838 }
3939
40- public DateTime RetryAfterUtc { get ; set ; }
40+ public DateTime RetryAfterUtc { get ; set ; }
4141 }
4242}
43-
0 commit comments