File: udtexceptions.py

package info (click to toggle)
ubuntu-dev-tools 0.101
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 696 kB
  • ctags: 505
  • sloc: python: 3,461; sh: 1,074; perl: 563; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class PackageNotFoundException(BaseException):
	""" Thrown when a package is not found """
	pass
		
class SeriesNotFoundException(BaseException):
	""" Thrown when a distroseries is not found """
	pass

class PocketDoesNotExistError(Exception):
	'''Raised when a invalid pocket is used.'''
	pass

class ArchiveNotFoundException(BaseException):
	""" Thrown when an archive for a distibution is not found """
	pass

class AlreadyLoggedInError(Exception):
    '''Raised when a second login is attempted.'''
    pass