:: com :: sun :: star :: sdb ::

service ErrorMessageDialog
Supported Interface
::com::sun::star::ui::dialogs::XExecutableDialog


Constructors' Summary
create allows initializing the dialog  
Constructors' Details
create
create( [in] string  initialTitle,
[in] ::com::sun::star::awt::XWindow  parentWindow,
[in] any  sqlException );

Description
allows initializing the dialog

You do not need to call the initialize method directly, instead you may use the createInstanceWithArguments method of your com::sun::star::lang::XMultiServiceFactory.

You specify a parameter by passing one (or more) com::sun::star::beans::PropertyValue object(s) to the initialize method, where the Name field contains a string describing which aspect you want to affect, and the Value field containing a value.
Imagine the initialization values, as if you use com::sun::star::beans">XPropertySet::setPropertyValue() of the com::sun::star::beans::XPropertySet interface ...
allowed parameters are

  • title
    String describing the initial title of the dialog. If not specified, a default title is used.
  • parentWindow
    com::sun::star::awt::XWindow describing the parent window to use for the dialog.
  • sqlException
    com::sun::star::sdbc::SQLException describing the error which is being displayed.
    When initializing this value, you may use any derivative of com::sun::star::sdbc::SQLException.


 
Top of Page