Bug 150642. Return additional error codes when store is locked
This commit is contained in:
@@ -53,8 +53,7 @@ namespace sscs.constants
|
||||
internal static int SSCS_STORE_IS_NOT_PERSISTENT = -23;
|
||||
internal static int SSCS_SECRET_IS_PERSISTENT = -24;
|
||||
internal static int SSCS_SECRET_IS_NOT_PERSISTENT = -25;
|
||||
internal static int SSCS_SECRET_STORE_IS_LOCKED = -26;
|
||||
|
||||
internal static int SSCS_SECRET_STORE_IS_LOCKED = -26;
|
||||
}
|
||||
|
||||
internal class ReqMsgId
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
retCode = IPCRetCodes.SSCS_E_SECRETID_DOES_NOT_EXIST;
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
|
||||
}
|
||||
catch(UserNotInSessionException)
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
retCode = IPCRetCodes.SSCS_E_SECRETID_DOES_NOT_EXIST;
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
|
||||
}
|
||||
catch(UserNotInSessionException)
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
retCode = IPCRetCodes.SSCS_E_SECRETID_DOES_NOT_EXIST;
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
|
||||
}
|
||||
catch(UserNotInSessionException)
|
||||
|
||||
@@ -218,8 +218,8 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// do nothing
|
||||
{
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -218,8 +218,8 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// do nothing
|
||||
{
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -204,8 +204,8 @@ namespace sscs.verbs
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// do nothing
|
||||
{
|
||||
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
|
||||
}
|
||||
}
|
||||
catch(UserNotInSessionException)
|
||||
|
||||
Reference in New Issue
Block a user