Uranium
Application Framework
UM.VersionUpgrade.FormatException Class Reference

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

Inherits Exception.

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def 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__()

def 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: