Bug 150642. Return additional error codes when store is locked

This commit is contained in:
Jim Norman
2006-02-22 20:39:52 +00:00
parent 97cfe5dd7b
commit ae84c5f595
10 changed files with 31 additions and 18 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -218,8 +218,8 @@ namespace sscs.verbs
}
}
else
{
// do nothing
{
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
}
}

View File

@@ -218,8 +218,8 @@ namespace sscs.verbs
}
}
else
{
// do nothing
{
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
}
}

View File

@@ -204,8 +204,8 @@ namespace sscs.verbs
}
}
else
{
// do nothing
{
retCode = IPCRetCodes.SSCS_SECRET_STORE_IS_LOCKED;
}
}
catch(UserNotInSessionException)