Merge "Throw appropriate exception for session transferring"