Python  1.0
Public Member Functions | Public Attributes | List of all members
_05a_gcd.Usage Class Reference

Exception class. More...

Inheritance diagram for _05a_gcd.Usage:
Inheritance graph
[legend]
Collaboration diagram for _05a_gcd.Usage:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, msg="")
 Constructor. More...
 
def __str__ (self)
 Redefines the printing method. More...
 

Public Attributes

 msg
 hold the error message. More...
 

Detailed Description

Exception class.

Thrown for invalid arguments.

Parameters
Exceptionan exception.

Constructor & Destructor Documentation

◆ __init__()

def _05a_gcd.Usage.__init__ (   self,
  msg = "" 
)

Constructor.

Parameters
msgError message.

Member Function Documentation

◆ __str__()

def _05a_gcd.Usage.__str__ (   self)

Redefines the printing method.

Returns
msg

References _05a_gcd.Usage.msg.

Member Data Documentation

◆ msg

_05a_gcd.Usage.msg

hold the error message.

Referenced by _05a_gcd.Usage.__str__().


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