2024-04-09 12:53:23 +02:00
|
|
|
using ShareeBike.Model.Bikes.BikeInfoNS.BluetoothLock;
|
2021-05-13 17:07:16 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
namespace ShareeBike.Services.BluetoothLock.Exception
|
2021-05-13 17:07:16 +02:00
|
|
|
{
|
2023-08-31 12:20:06 +02:00
|
|
|
public class CouldntCloseBoltBlockedException : StateAwareException
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
2023-02-22 14:03:35 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Constructs a bold blocked exception.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Lock is closed in most cases, but this is not guaranteed according to haveltec.
|
|
|
|
/// </remarks>
|
|
|
|
/// <param name="state">State of the lock while/ after bold blocked event.</param>
|
|
|
|
/// <remarks>
|
|
|
|
/// </remarks>
|
2023-08-31 12:20:06 +02:00
|
|
|
public CouldntCloseBoltBlockedException(LockingState state = LockingState.UnknownFromHardwareError) : base(
|
2023-02-22 14:03:35 +01:00
|
|
|
state,
|
2023-08-31 12:20:06 +02:00
|
|
|
MultilingualResources.Resources.LockItExceptionCloseLockBoltBlocked)
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 17:07:16 +02:00
|
|
|
}
|