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#ifndef __com_sun_star_configuration_backend_MalformedDataException_idl__ 24#define __com_sun_star_configuration_backend_MalformedDataException_idl__ 25 26#ifndef __com_sun_star_uno_Exception_idl__ 27#include <com/sun/star/uno/Exception.idl> 28#endif 29 30//============================================================================= 31 32module com { module sun { module star { module configuration { module backend { 33 34//============================================================================= 35 36/** is raised when the data of a component schema, layer or update 37 is not well-formed, violates the schema or is otherwise invalid. 38 39 @since OpenOffice 1.1.2 40 */ 41published exception MalformedDataException: ::com::sun::star::uno::Exception 42{ 43 /** 44 data that provides more detailed information about the 45 reason and location of the error. 46 47 <p> Typically this member should contain an exception characterizing 48 the error in detail. 49 </p> 50 <p> For example the following exceptions may be used: 51 <dl> 52 <dt><type scope="com::sun::star::container">ElementExistException</type></dt> 53 <dd>for duplicate nodes.</dd> 54 55 <dt><type scope="com::sun::star::container">NoSuchElementException</type></dt> 56 <dd>for nodes that are not in the schema.</dd> 57 58 <dt><type scope="com::sun::star::beans">IllegalTypeException</type></dt> 59 <dd>for properties having the wrong or an invalid type.</dd> 60 61 <dt><type scope="com::sun::star::beans">PropertyExistException</type></dt> 62 <dd>for duplicate properties.</dd> 63 64 <dt><type scope="com::sun::star::beans">UnknownPropertyException</type></dt> 65 <dd>for properties that are not in the schema.</dd> 66 67 <dt><type scope="com::sun::star::lang">IllegalArgumentException</type></dt> 68 <dd>for data values (names,attibutes,etc.) that are invalid.</dd> 69 70 <dt><type scope="com::sun::star::lang">IllegalAccessException</type></dt> 71 <dd>for changes that violate access restrictions.</dd> 72 73 <dt><type scope="com::sun::star::lang">NoSupportException</type></dt> 74 <dd>for features that are not supported by the current implementation.</dd> 75 </dl> 76 </p> 77 <p> If no more detail information is available, this may be left <void/>. 78 </p> 79 */ 80 any ErrorDetails; 81}; 82 83//============================================================================= 84 85}; }; }; }; }; 86 87#endif 88