xref: /trunk/main/idlc/test/exception.idl (revision 540d5e64)
1*540d5e64SAndrew Rist/**************************************************************
2*540d5e64SAndrew Rist *
3*540d5e64SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*540d5e64SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*540d5e64SAndrew Rist * distributed with this work for additional information
6*540d5e64SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*540d5e64SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*540d5e64SAndrew Rist * "License"); you may not use this file except in compliance
9*540d5e64SAndrew Rist * with the License.  You may obtain a copy of the License at
10*540d5e64SAndrew Rist *
11*540d5e64SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*540d5e64SAndrew Rist *
13*540d5e64SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*540d5e64SAndrew Rist * software distributed under the License is distributed on an
15*540d5e64SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*540d5e64SAndrew Rist * KIND, either express or implied.  See the License for the
17*540d5e64SAndrew Rist * specific language governing permissions and limitations
18*540d5e64SAndrew Rist * under the License.
19*540d5e64SAndrew Rist *
20*540d5e64SAndrew Rist *************************************************************/
21*540d5e64SAndrew Rist
22cdf0e10cSrcweirmodule idlc
23cdf0e10cSrcweir{
24cdf0e10cSrcweirmodule test
25cdf0e10cSrcweir{
26cdf0e10cSrcweir
27cdf0e10cSrcweirexception BaseException
28cdf0e10cSrcweir{
29cdf0e10cSrcweir	string	Description;
30cdf0e10cSrcweir};
31cdf0e10cSrcweir
32cdf0e10cSrcweirexception RuntimeException : BaseException
33cdf0e10cSrcweir{
34cdf0e10cSrcweir	long	Id;
35cdf0e10cSrcweir	type	Context;
36cdf0e10cSrcweir};
37cdf0e10cSrcweir
38cdf0e10cSrcweir
39cdf0e10cSrcweir};
40cdf0e10cSrcweir};
41cdf0e10cSrcweir
42