summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/NoValidPathException.py
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/common/NoValidPathException.py')
-rw-r--r--wizards/com/sun/star/wizards/common/NoValidPathException.py10
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 000000000..53db155e2
--- /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
+