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:
parent
e9d71df6cd
commit
caa2fdc06d
1 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue