// **********************************************************************
//
// Copyright (c) 2002
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef EXCEPTIONS_IDL
#define EXCEPTIONS_IDL

#pragma prefix "omg.org"

module CORBA
{

const unsigned long OMGVMCID = 0x4f4d0000;

#define ex_body { unsigned long minor; completion_status completed; }

enum completion_status
{
    COMPLETED_YES,
    COMPLETED_NO,
    COMPLETED_MAYBE
};

enum exception_type
{
    NO_EXCEPTION,
    USER_EXCEPTION,
    SYSTEM_EXCEPTION
};

}; // End module CORBA

#endif
