parameters: (self, custom_type)
docstring: Makes this clique use custom_type for validating messages and
      translations, and optionally modifying translations.
docstring_summary: Makes this clique use custom_type for validating messages and
      translations, and optionally modifying translations.
docstring_tokens: Makes this clique use custom_type for validating messages and translations and optionally modifying translations .
function: def SetCustomType(self, custom_type):
      '''Makes this clique use custom_type for validating messages and
      translations, and optionally modifying translations.
      '''
      self.custom_type = custom_type
      if custom_type and not custom_type.Validate(self.GetMessage()):
        raise exception.InvalidMessage(self.GetMessage().GetRealContent())
function_tokens: def SetCustomType ( self , custom_type ) : self . custom_type = custom_type if custom_type and not custom_type . Validate ( self . GetMessage ( ) ) : raise exception . InvalidMessage ( self . GetMessage ( ) . GetRealContent ( ) )