summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 11:01:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 11:01:08 +0000
commit65cb0c0938aca0ad9b48b2a96f912612ee6eebee (patch)
tree48d66fadc8b6250ae98e39bfae1b765c79bf6411 /uui
parent7f5f1ac536b8ab1d8c4ddac75cb892d4e004eef5 (diff)
INTEGRATION: CWS eforms4 (1.44.12); FILE MERGED
2005/02/18 18:55:52 dvo 1.44.12.2: RESYNC: (1.44-1.45); FILE MERGED 2004/12/15 10:52:05 fs 1.44.12.1: #i36765# handle xforms::InvalidDataOnSubmitException
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx20
1 files changed, 18 insertions, 2 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 5b2759ab709b..247c8637c601 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: iahndl.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2005-03-15 10:04:27 $
+ * last change: $Author: vg $ $Date: 2005-03-23 12:01:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -249,6 +249,9 @@
#ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_STRATUMCREATIONEXCEPTION_HPP_
#include <com/sun/star/configuration/backend/StratumCreationException.hpp>
#endif
+#ifndef _COM_SUN_STAR_XFORMS_INVALIDDATAONSUBMITEXCEPTION_HPP_
+#include <com/sun/star/xforms/InvalidDataOnSubmitException.hpp>
+#endif
#ifndef _OSL_DIAGNOSE_H_
#include "osl/diagnose.h"
#endif
@@ -1179,6 +1182,19 @@ UUIInteractionHandler::handle_impl(
rRequest->getContinuations());
return;
}
+
+ star::xforms::InvalidDataOnSubmitException aInvalidDataOnSubmitException;
+ if (aAnyRequest >>= aInvalidDataOnSubmitException)
+ {
+ const ErrCode nErrorCode = ERRCODE_UUI_INVALID_XFORMS_SUBMISSION_DATA;
+
+ std::vector< rtl::OUString > aArguments;
+
+ handleErrorRequest(star::task::InteractionClassification_QUERY,
+ nErrorCode,
+ aArguments,
+ rRequest->getContinuations());
+ }
}
catch (std::bad_alloc const &)
{