Class cocos.audio.SDL.error.SDL_Exception

exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              SDL_Exception

Exception raised for all SDL errors.

The message is as returned by SDL_GetError.

Methods

  __init__(self, message)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __str__(self)
str(x)
Inherited from exceptions.Exception: __new__ Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Properties

Inherited from exceptions.BaseException: args, message

Method Details

__init__

(Constructor) __init__(self, message)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
exceptions.Exception.__init__

__str__

(Informal representation operator) __str__(self)
str(x)
Overrides:
exceptions.BaseException.__str__