From e0332254747375d2d6d52249f7ddccc189560d03 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 06 2014 09:58:37 +0000 Subject: Add a dedicated exception class for PkgDB <-> Bugzilla interaction error --- diff --git a/pkgdb2/lib/exceptions.py b/pkgdb2/lib/exceptions.py index 40be5a6..77650cd 100644 --- a/pkgdb2/lib/exceptions.py +++ b/pkgdb2/lib/exceptions.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright © 2013-2014 Red Hat, Inc. +# Copyright © 2014 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions @@ -28,3 +28,10 @@ class PkgdbException(Exception): """ Generic Exception object used to throw pkgdb2 specific error. """ pass + + +class PkgdbBugzillaException(PkgdbException): + """ Generic Exception object used to throw pkgdb2 error specifically + related to its interaction with bugzilla. + """ + pass