xref: /trunk/main/udkapi/com/sun/star/bridge/InvalidProtocolChangeException.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1*408a4873SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*408a4873SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*408a4873SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*408a4873SAndrew Rist * distributed with this work for additional information
6*408a4873SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*408a4873SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*408a4873SAndrew Rist * "License"); you may not use this file except in compliance
9*408a4873SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*408a4873SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*408a4873SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*408a4873SAndrew Rist * software distributed under the License is distributed on an
15*408a4873SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*408a4873SAndrew Rist * KIND, either express or implied.  See the License for the
17*408a4873SAndrew Rist * specific language governing permissions and limitations
18*408a4873SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*408a4873SAndrew Rist *************************************************************/
21*408a4873SAndrew Rist
22*408a4873SAndrew Rist
23cdf0e10cSrcweir#ifndef _COM_SUN_STAR_BRIDGE_INVALIDPROTCOLCHANGEEXCEPTION_IDL_
24cdf0e10cSrcweir#define _COM_SUN_STAR_BRIDGE_INVALIDPROTCOLCHANGEEXCEPTION_IDL_
25cdf0e10cSrcweir#include <com/sun/star/bridge/ProtocolProperty.idl>
26cdf0e10cSrcweir#include <com/sun/star/uno/Exception.idl>
27cdf0e10cSrcweir
28cdf0e10cSrcweirmodule com { module sun { module star { module bridge {
29cdf0e10cSrcweir
30cdf0e10cSrcweir
31cdf0e10cSrcweir/** Indicates, that a requested property change could not be executed by the
32cdf0e10cSrcweir    remote counterpart.
33cdf0e10cSrcweir
34cdf0e10cSrcweir    @see XProtocolProperties
35cdf0e10cSrcweir*/
36cdf0e10cSrcweirpublished exception InvalidProtocolChangeException : com::sun::star::uno::Exception
37cdf0e10cSrcweir{
38cdf0e10cSrcweir    /** The first invalid property.
39cdf0e10cSrcweir     */
40cdf0e10cSrcweir    ProtocolProperty invalidProperty;
41cdf0e10cSrcweir
42cdf0e10cSrcweir    /** Contains 1, if the property name is unknown to the thrower;
43cdf0e10cSrcweir        or contains 2, if the property's value can't be accepted by the thrower.
44cdf0e10cSrcweir     */
45cdf0e10cSrcweir    long             reason;
46cdf0e10cSrcweir};
47cdf0e10cSrcweir
48cdf0e10cSrcweir};};};};
49cdf0e10cSrcweir
50cdf0e10cSrcweir#endif
51