1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_IDL 25#define INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_IDL 26 27#include "com/sun/star/uno/Exception.idl" 28 29module com { module sun { module star { module xml { module dom { 30 interface XElement; 31}; }; }; }; }; 32 33module com { module sun { module star { module deployment { 34 35/** 36 describes unsatisfied dependencies a deployment unit has on its target 37 environment. 38 39 <p>This exception is intended to be used with an 40 <type scope="com::sun::star::task">XInteractionHandler</type>.</p> 41 42 @since OpenOffice 2.0.4 43*/ 44exception DependencyException: com::sun::star::uno::Exception { 45 /** 46 a sequence of dependencies represented by XML elements. 47 48 <p>The exact nature of those XML elements is deliberately left open, so 49 that new kinds of dependencies can be defined in the future. 50 OOo 2.0.4 does not define any kinds of dependencies. Each such XML 51 element should have an attribute whose global name consists of the 52 namespace name 53 <code>http://openoffice.org/extensions/description/2006</code> and the 54 local part <code>name</code> and whose value is a human-readable 55 (english) description of the dependency. If an instance of OpenOffice does not 56 know more about a specific kind of dependency, it should display the 57 value of that attribute to the user.</p> 58 59 <p>The sequence must not be emtpy, and none of the elements may be 60 <NULL/>.</p> 61 */ 62 sequence< com::sun::star::xml::dom::XElement > UnsatisfiedDependencies; 63}; 64 65}; }; }; }; 66 67#endif 68