NonStop Serverware

ExceptionDef

Previous Topic | Next Topic | Contents | Index
Getting Started | Administration Guide | Programmer's Guide

Subtopics

ExceptionDef Syntax
ExceptionDef::describe( )
ExceptionDef::members
ExceptionDef::type

An ExceptionDef is the definition of an exception that can be raised by an operation.

ExceptionDef Syntax

module CORBA {
struct StructMember {
    Identifier name; 
    TypeCode type;
	IDLType type_def;
}
typedef sequence <StructMember> StructMemberSeq;

    interface ExceptionDef : Contained {
    readonly attribute TypeCode type;
    attribute StructMemberSeq members;
    };
};

ExceptionDef::describe( )

This operation is inherited from Contained. It returns a structure of type Contained::Description.

Syntax

struct Description {
  DefinitionKind kind;
  any value;
};

Description

The DefinitionKind for the kind is dk_Exception. The value member is an any whose TypeCode is ExceptionDescription and whose value of of this type.

ExceptionDef::members

This attribute describes the exception members in a sequence of StructMember structures. This attribute can be modified to change the structure's members.

Syntax

attribute StructMemberSeq members;

ExceptionDef::type

This attribute describes the type of the exception members in a sequence of StructMember structures. This attribute can be modified to change the structure's members.

Syntax

readonly attribute TypeCode type;

Previous Topic | Next Topic | Contents | Top
Getting Started Guide | Administration Guide | Programmer's Guide
Bibliography | Glossary | Index
© Tandem, a division of Compaq. All rights reserved. Legal notices.