throw
new
CSException(CSExceptionType.ResourceNotFound,
"
Role not found:
"
+
roleID.ToString());
此处异常类型为ResourceNotFound,应该改成RoleNotFound类型才对。
throw
new
CSException(CSExceptionType.RoleNotFound,
"
Role not found:
"
+
roleID.ToString());
另外一个同样需要修改的方法还有 GetRole(string roleName, bool cacheable)