Report error exceptions

svn: r1275
This commit is contained in:
Don Allingham
2003-01-29 04:43:12 +00:00
parent 16fa3b0b8f
commit 71ee24226d
16 changed files with 103 additions and 56 deletions

View File

@@ -52,8 +52,9 @@ import TextDoc
import StyleEditor
import GrampsCfg
import PaperMenu
from intl import gettext as _
import Errors
from intl import gettext as _
from QuestionDialog import ErrorDialog
#-------------------------------------------------------------------------
@@ -78,20 +79,6 @@ _template_map = {
_user_template : None
}
#-------------------------------------------------------------------------
#
# Exceptions
#
#-------------------------------------------------------------------------
class ReportError(Exception):
def __init__(self,value):
self.value = value
def __str__(self):
return self.value
#-------------------------------------------------------------------------
#
# Report