diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-12-02 17:15:48 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-12-05 20:53:22 +0000 |
commit | b35b7080980c0ba43f411db469feb30f8a5c6881 (patch) | |
tree | 3b299cd25acab71627182956cf62ef7cbb583721 /wizards/com/sun/star/wizards/common/NoValidPathException.py | |
parent | 21131ea640f158963d4b69b1269c0bc7e5215006 (diff) |
pywizards: resurrect Xisco's code lost in rebasing
Xisco merged this to master and then deleted it on master, which cause
these files to get lost during the re-base across that.
Diffstat (limited to 'wizards/com/sun/star/wizards/common/NoValidPathException.py')
-rw-r--r-- | wizards/com/sun/star/wizards/common/NoValidPathException.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/common/NoValidPathException.py b/wizards/com/sun/star/wizards/common/NoValidPathException.py new file mode 100644 index 000000000000..53db155e2e6d --- /dev/null +++ b/wizards/com/sun/star/wizards/common/NoValidPathException.py @@ -0,0 +1,10 @@ +class NoValidPathException(Exception): + + def __init__(self, xMSF, _sText): + super(NoValidPathException,self).__init__(_sText) + # TODO: NEVER open a dialog in an exception + from SystemDialog import SystemDialog + if xMSF: + SystemDialog.showErrorBox(xMSF, + "dbwizres", "dbw", 521) #OfficePathnotavailable + |