public void setRoleName(String roleName) {if (null == roleName) {throw new NullPointerException("You must specifiy a valid role name.");}this.roleName = roleName;setCredentialUrl();}
public void SetRoleName(string roleName){if (string.IsNullOrEmpty(roleName)){throw new ArgumentNullException("You must specifiy a valid role name.");}this.roleName = roleName;SetCredentialUrl();}