Uranium
Application Framework
Loading...
Searching...
No Matches
UM.VersionUpgrade.FormatException Class Reference

An exception to throw if the formatting of a file is wrong. More...

Inherits Exception.

Public Member Functions

 __init__ (self, message, file="")
 Creates the exception instance.
 
 __str__ (self)
 Gives a human-readable representation of this exception.
 

Protected Attributes

 _message
 
 _file
 

Detailed Description

An exception to throw if the formatting of a file is wrong.

Constructor & Destructor Documentation

◆ __init__()

UM.VersionUpgrade.FormatException.__init__ (   self,
  message,
  file = "" 
)

Creates the exception instance.

Parameters
messageA message indicating what went wrong.
fileThe file it went wrong in.

Member Function Documentation

◆ __str__()

UM.VersionUpgrade.FormatException.__str__ (   self)

Gives a human-readable representation of this exception.

Returns
A human-readable representation of this exception.

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