errors
index
/home/gerrit/cvs/brian/errors.py

# $Id: errors.html,v 1.9 2003/06/15 12:23:59 gerrit Exp $
#

 
Classes
       
exceptions.Exception
BrianError
CantShoot
NoAmmo
ShootingReload
UnableShooting
Collision
GivenUpSpritePlacement
MultipleCollision
OutsideArea
SingleCollision
SpriteTooLarge
UnexspectedCollision
DataError
LevelNotFound
EndGame
LevelCompleted
LevelError
SizeError
InvalidBorder
InvalidLevel
UndefinedError
UndefinedAttributeError
WrongDefined
UndefinedMethodError
UnknownEventError
UsageError
DeadSpriteError
RectAttributeError
IncorrectRectAttribute
NoRectAttribute
RectLostError

 
class BrianError(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class CantShoot(BrianError)
    
Method resolution order:
CantShoot
BrianError
exceptions.Exception

Methods defined here:
__init__(self, me, why)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class Collision(BrianError)
    
Method resolution order:
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, src, dest)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class DataError(BrianError)
    
Method resolution order:
DataError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, msg, obj)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class DeadSpriteError(UsageError)
    
Method resolution order:
DeadSpriteError
UsageError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, spr)

Methods inherited from UsageError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class EndGame(BrianError)
    
Method resolution order:
EndGame
BrianError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class GivenUpSpritePlacement(Collision)
    
Method resolution order:
GivenUpSpritePlacement
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, spr, n)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class IncorrectRectAttribute(RectAttributeError)
    
Method resolution order:
IncorrectRectAttribute
RectAttributeError
UsageError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, spr)

Methods inherited from UsageError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class InvalidBorder(SizeError)
    
Method resolution order:
InvalidBorder
SizeError
LevelError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, size, req)

Methods inherited from SizeError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class InvalidLevel(SizeError)
    
Method resolution order:
InvalidLevel
SizeError
LevelError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, axis, size, req)

Methods inherited from SizeError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class LevelCompleted(BrianError)
    
Method resolution order:
LevelCompleted
BrianError
exceptions.Exception

Methods defined here:
__init__(self, level)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class LevelError(BrianError)
    
Method resolution order:
LevelError
BrianError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class LevelNotFound(DataError)
    
Method resolution order:
LevelNotFound
DataError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, levname)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class MultipleCollision(Collision)
    
Method resolution order:
MultipleCollision
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, src, *dest)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class NoAmmo(CantShoot)
    
Method resolution order:
NoAmmo
CantShoot
BrianError
exceptions.Exception

Methods defined here:
__init__(self, me)

Methods inherited from CantShoot:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class NoRectAttribute(RectAttributeError)
    
Method resolution order:
NoRectAttribute
RectAttributeError
UsageError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, spr)

Methods inherited from UsageError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class OutsideArea(Collision)
    
Method resolution order:
OutsideArea
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, world, rect)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class RectAttributeError(UsageError)
    
Method resolution order:
RectAttributeError
UsageError
BrianError
exceptions.Exception

Methods inherited from UsageError:
__init__(self, msg)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class RectLostError(RectAttributeError)
    
Method resolution order:
RectLostError
RectAttributeError
UsageError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, container, spr)

Methods inherited from UsageError:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class ShootingReload(CantShoot)
    
Method resolution order:
ShootingReload
CantShoot
BrianError
exceptions.Exception

Methods defined here:
__init__(self, me, cf, sf, rf)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class SingleCollision(Collision)
    
Method resolution order:
SingleCollision
Collision
BrianError
exceptions.Exception

Methods inherited from Collision:
__init__(self, src, dest)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class SizeError(LevelError)
    
Method resolution order:
SizeError
LevelError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, problem, axis, size, req)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class SpriteTooLarge(Collision)
    
Method resolution order:
SpriteTooLarge
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, size, maxsize)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class UnableShooting(CantShoot)
    
Method resolution order:
UnableShooting
CantShoot
BrianError
exceptions.Exception

Methods defined here:
__init__(self, me)

Methods inherited from CantShoot:
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class UndefinedAttributeError(UndefinedError)
    
Method resolution order:
UndefinedAttributeError
UndefinedError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, cls, *attr)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class UndefinedError(BrianError)
    
Method resolution order:
UndefinedError
BrianError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class UndefinedMethodError(UndefinedError)
    
Method resolution order:
UndefinedMethodError
UndefinedError
BrianError
exceptions.Exception

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class UnexspectedCollision(Collision)
    
Method resolution order:
UnexspectedCollision
Collision
BrianError
exceptions.Exception

Methods defined here:
__init__(self, src, dest, msg)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class UnknownEventError(BrianError)
    
Method resolution order:
UnknownEventError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, e)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class UsageError(BrianError)
    
Method resolution order:
UsageError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, msg)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)

 
class WrongDefined(UndefinedAttributeError)
    
Method resolution order:
WrongDefined
UndefinedAttributeError
UndefinedError
BrianError
exceptions.Exception

Methods defined here:
__init__(self, cls, attr, why)
__str__(self)

Methods inherited from exceptions.Exception:
__getitem__(...)