replaced throw_error with throw_exception
Wrote tests for AttributeExtensionIsNotSupportedInRoles
Wrote exception class for AttributeExtensionIsNotSupportedInRoles