oomph-convert.TecplotParsingError Class Reference
+ Inheritance diagram for oomph-convert.TecplotParsingError:

Public Member Functions

def __init__ (self, title, message, line, reminder=False)
 
def __str__ (self)
 

Public Attributes

 title
 
 message
 
 line
 
 reminder
 

Detailed Description

 Raised when an error occurs while parsing a Tecplot file.

Constructor & Destructor Documentation

◆ __init__()

def oomph-convert.TecplotParsingError.__init__ (   self,
  title,
  message,
  line,
  reminder = False 
)
566  def __init__(self, title, message, line, reminder=False):
567  self.title = title
568  self.message = message
569  self.line = line
570  self.reminder = reminder
571 

Member Function Documentation

◆ __str__()

def oomph-convert.TecplotParsingError.__str__ (   self)
572  def __str__(self):
573  msg = "Parsing failed at line %d: [%s] %s" % (self.line, self.title, self.message)
574 
575  return msg
576 
577 #

References oomph-convert.TecplotParsingError.line, oomph-convert.TecplotParsingError.message, and oomph-convert.TecplotParsingError.title.

Member Data Documentation

◆ line

oomph-convert.TecplotParsingError.line

◆ message

oomph-convert.TecplotParsingError.message

◆ reminder

oomph-convert.TecplotParsingError.reminder

◆ title

oomph-convert.TecplotParsingError.title

The documentation for this class was generated from the following file: