ServerPortfolio  2.0
Python parsers and server
 All Classes Namespaces Files Functions Variables Properties Pages
Public Member Functions | Public Attributes | List of all members
serverportfolio.PortfolioException.PortfolioError Class Reference

Base class of the custom exceptions. More...

Inheritance diagram for serverportfolio.PortfolioException.PortfolioError:
Inheritance graph
[legend]
Collaboration diagram for serverportfolio.PortfolioException.PortfolioError:
Collaboration graph
[legend]

Public Member Functions

def __init__
 Constructor. More...
 
def get_format_string
 

Public Attributes

 extra_message
 
 traceback
 

Detailed Description

Base class of the custom exceptions.

Exception expects one argument *args (tuple)
Can access with e.args, e.message works only with one argument.

Definition at line 22 of file PortfolioException.py.

Constructor & Destructor Documentation

def serverportfolio.PortfolioException.PortfolioError.__init__ (   self,
  message,
  extra_message = None 
)

Constructor.

Parameters
messagemain string to report the error
extra_messageadditional, will be append to message by a call to get_format_string

Definition at line 29 of file PortfolioException.py.

Member Function Documentation

def serverportfolio.PortfolioException.PortfolioError.get_format_string (   self)

Member Data Documentation

serverportfolio.PortfolioException.PortfolioError.extra_message
serverportfolio.PortfolioException.PortfolioError.traceback

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