ServerPortfolio
2.0
Python parsers and server
|
Derived class specific to the parsers. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | get_format_string |
Produce more informative error message, including traceback. More... | |
Public Member Functions inherited from serverportfolio.PortfolioException.PortfolioError | |
def | __init__ |
Constructor. More... | |
def | get_format_string |
Public Attributes | |
stock | |
action | |
url | |
Public Attributes inherited from serverportfolio.PortfolioException.PortfolioError | |
extra_message | |
traceback | |
Derived class specific to the parsers.
Include specific information: stock, url, action
Definition at line 61 of file PortfolioException.py.
def serverportfolio.PortfolioException.ParserError.__init__ | ( | self, | |
message, | |||
stock, | |||
action, | |||
url | |||
) |
Constructor.
message | simple string to describe the error |
stock | specify the stock symbols treated |
action | EAction name performed |
the | url used by WebQuery |
Definition at line 71 of file PortfolioException.py.
def serverportfolio.PortfolioException.ParserError.get_format_string | ( | self | ) |
Produce more informative error message, including traceback.
Definition at line 96 of file PortfolioException.py.
References serverportfolio.PortfolioException.ParserError.action, serverportfolio.SocketServer_Server.MyThreaded_TCPServer_Parser.message, serverportfolio.PortfolioException.ParserError.stock, serverportfolio.PortfolioException.PortfolioError.traceback, serverportfolio.Parsers.Abstract.AbstractParser.url, serverportfolio.Parsers.Parser_Bourso.Parser_Bourso.url, serverportfolio.PortfolioException.ParserError.url, serverportfolio.Parsers.YahooYQL.YahooYQL.url, and serverportfolio.Parsers.YahooCSV.YahooCSV.url.
serverportfolio.PortfolioException.ParserError.action |
Definition at line 83 of file PortfolioException.py.
Referenced by serverportfolio.PortfolioException.ParserError.get_format_string().
serverportfolio.PortfolioException.ParserError.stock |
Definition at line 82 of file PortfolioException.py.
Referenced by serverportfolio.PortfolioException.ParserError.get_format_string().
serverportfolio.PortfolioException.ParserError.url |
Definition at line 84 of file PortfolioException.py.
Referenced by serverportfolio.PortfolioException.ParserError.get_format_string(), and serverportfolio.PortfolioException.QueryError.get_format_string().