Lines Matching refs:TextFSMTemplateError
54 class TextFSMTemplateError(Error): class
269 raise TextFSMTemplateError('Expect at least 3 tokens on line.')
288 raise TextFSMTemplateError(
293 raise TextFSMTemplateError(
311 raise TextFSMTemplateError('Duplicate option "%s"' % name)
317 raise TextFSMTemplateError('Unknown option "%s"' % name)
423 raise TextFSMTemplateError('Null data in FSMRule. Line: %s'
439 raise TextFSMTemplateError(
447 raise TextFSMTemplateError(
465 raise TextFSMTemplateError("Badly formatted rule '%s'. Line: %s." %
484 raise TextFSMTemplateError(
491 raise TextFSMTemplateError(
647 raise TextFSMTemplateError('Null template.')
692 except TextFSMTemplateError as error:
693 raise TextFSMTemplateError('%s Line %s.' % (error, self._line_num))
696 raise TextFSMTemplateError(
702 except TextFSMTemplateError as error:
703 raise TextFSMTemplateError('%s Line %s.' % (error, self._line_num))
709 raise TextFSMTemplateError('No Value definitions found.')
711 raise TextFSMTemplateError(
757 raise TextFSMTemplateError("Invalid state name: '%s'. Line: %s"
762 raise TextFSMTemplateError("Duplicate state name: '%s'. Line: %s"
782 raise TextFSMTemplateError(
808 raise TextFSMTemplateError("Missing state 'Start'.")
812 raise TextFSMTemplateError("Non-Empty 'End' state.")
815 raise TextFSMTemplateError("Non-Empty 'EOF' state.")
832 raise TextFSMTemplateError(
1052 except (IOError, TextFSMError, TextFSMTemplateError) as err: