INTEGRATION: CWS rptwizard01 (1.4.126); FILE MERGED

2008/02/14 13:11:46 lla 1.4.126.1: #i86092# cleanups
This commit is contained in:
Kurt Zenker 2008-06-25 13:26:33 +00:00
parent e9d71df6cd
commit caa2fdc06d

View file

@ -2,10 +2,15 @@ package com.sun.star.wizards.common;
import com.sun.star.lang.XMultiServiceFactory;
public class NoValidPathException extends Exception {
public NoValidPathException(XMultiServiceFactory xMSF) {
SystemDialog.showErrorBox(xMSF, "dbwizres", "dbw", 521); // OfficePathnotavailable
public class NoValidPathException extends Exception
{
public NoValidPathException(XMultiServiceFactory xMSF, String _sText)
{
super(_sText);
// TODO: NEVER open a dialog in an exception
if (xMSF != null)
{
SystemDialog.showErrorBox(xMSF, "dbwizres", "dbw", 521); // OfficePathnotavailable
}
}
}