~ubuntu-branches/ubuntu/maverick/coherence/maverick

« back to all changes in this revision

Viewing changes to coherence/extern/louie/error.py

  • Committer: Bazaar Package Importer
  • Author(s): Charlie Smotherman
  • Date: 2010-01-02 10:57:15 UTC
  • mfrom: (1.1.7 upstream) (3.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100102105715-sghzl2nw4lr5b1ob
Tags: 0.6.6.2-1
*  New  upstream release, summary of changes:
    - adding all necessary files to MANIFEST.in, to compensate for the
      gone 'auto-include-all-files-under-version-control' setuptools
      feature.
    - rearranging genre and genres attribute in DIDLLite - thx Caleb  
    - fix face_path typo, fixes #275.   

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""Error types for Louie."""
2
 
 
3
 
 
4
 
class LouieError(Exception):
5
 
    """Base class for all Louie errors"""
6
 
 
7
 
 
8
 
class DispatcherError(LouieError):
9
 
    """Base class for all Dispatcher errors"""
10
 
    
11
 
 
12
 
class DispatcherKeyError(KeyError, DispatcherError):
13
 
    """Error raised when unknown (sender, signal) specified"""
14
 
    
15
 
 
16
 
class DispatcherTypeError(TypeError, DispatcherError):
17
 
    """Error raised when inappropriate signal-type specified (None)"""
18
 
 
19
 
 
20
 
class PluginTypeError(TypeError, LouieError):
21
 
    """Error raise when trying to install more than one plugin of a
22
 
    certain type."""