Handle SPBM SecurityError

SPBM APIs throw SecurityError on session expiry. Currently
it is unhandled which could result in session reconnection
failure. This patch fixes it.

Change-Id: Ibbd534464c73cc8afc30ba6ff29b46f9287a83c6
This commit is contained in:
Vipin Balachandran
2015-02-13 20:21:45 +05:30
parent cfc7e2f95c
commit b5732b2e35
3 changed files with 37 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ NO_PERMISSION = 'NoPermission'
NOT_AUTHENTICATED = 'NotAuthenticated'
TASK_IN_PROGRESS = 'TaskInProgress'
DUPLICATE_NAME = 'DuplicateName'
SECURITY_ERROR = "SecurityError"
class VimException(Exception):