func (x *Exception) SetObject(object string) error {
	objectRegexp, err := regexp.Compile("(?i)" + object)
	if err != nil {
		return err
	}
	x.Object = objectRegexp
	return nil
}
func (x *Exception) SetObject(object string) error {
	objectRegexp, err := regexp.Compile("(?i)" + object)
	if err != nil {
		return err
	}
	x.Object = objectRegexp
	return nil
}
func ( x * Exception ) SetObject ( object string ) error { objectRegexp , err := regexp . Compile ( " " + object ) if err != nil { return err } x . Object = objectRegexp return nil }
// SetObject sets the regular expresion that should match the name of the
// object.
SetObject sets the regular expresion that should match the name of the object .