summaryrefslogtreecommitdiff
path: root/offapi/com
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-10-09 18:46:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-10-09 22:13:18 +0200
commitdd009cffc38a280d3b072ae4dc9ee9cda2e1f13f (patch)
tree572790205a946d6f91c43695ac1f7dc4d100f28b /offapi/com
parent4dade552c67a36f83cb419f90369722dc913d9fe (diff)
tdf#157650 Unhelpful error when XML in content.xml is malformed
regression from commit d9e322d60f65ff20631dab87baa5a2c7c71daaa2 replace ErrorInfo with simpler mechanism we need to tunnel the necessary information through the uui stuff, so add a new Exception class to do that. Change-Id: Ie1fde486e8637b802340795348a5e5aad6a54e96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157732 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi/com')
-rw-r--r--offapi/com/sun/star/task/ErrorCodeRequest2.idl42
1 files changed, 42 insertions, 0 deletions
diff --git a/offapi/com/sun/star/task/ErrorCodeRequest2.idl b/offapi/com/sun/star/task/ErrorCodeRequest2.idl
new file mode 100644
index 000000000000..b11a61a3e72c
--- /dev/null
+++ b/offapi/com/sun/star/task/ErrorCodeRequest2.idl
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+
+ module com { module sun { module star { module task {
+
+
+/** represents a general error exception.
+ It can be used to transport the error code information.
+ E.g. that can be useful for interactions.
+
+ This is designed to mesh with tools::ErrCodeMsg
+
+ @since LibreOffice 24.2
+ */
+exception ErrorCodeRequest2 : com::sun::star::task::ErrorCodeRequest
+{
+ string Arg1;
+ string Arg2;
+ short DialogMask;
+};
+
+
+}; }; }; };
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */