summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging/ExceptionHolder.pidl
blob: 28e50dc3efe4a5c9392d9c8bf504f80294a8006a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// -*- IDL -*-

//=============================================================================
/**
 *  @file   OldExceptionHolder.pidl
 *
 *  $Id$
 *
 *   tao_idl
 *        -o orig -Gp -Gd -Ge 1 -GA -SS
 *        -Wb,export_macro=TAO_Messaging_Export
 *        -Wb,export_include=messaging_export.h
 *        -Wb,pre_include="ace/pre.h"
 *        -Wb,post_include="ace/post.h" -I$(TAO_ROOT)
 *        ExceptionHolder.pidl
 *
 */
//=============================================================================

#ifndef TAO_MESSAGING_EXCEPTIONHOLDER_PIDL
#define TAO_MESSAGING_EXCEPTIONHOLDER_PIDL

#include "tao/OctetSeq.pidl"
#include "tao/AnyTypeCode/Dynamic.pidl"

#pragma prefix "omg.org"

module Messaging
{
  /// Exception Delivery in the Callback Model
  native UserExceptionBase;
  valuetype ExceptionHolder {
    void raise_exception() raises (UserExceptionBase);
    void raise_exception_with_list(
      in Dynamic::ExceptionList exc_list)
      raises (UserExceptionBase);
   private boolean is_system_exception;
   private boolean byte_order;
   private CORBA::OctetSeq marshaled_exception;
  };
};

#endif /* TAO_MESSAGING_EXCEPTIONHOLDER_PIDL */