Package com.sun.tools.corba.ee.idl
Class ExceptionEntry
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.SymtabEntry
-
- com.sun.tools.corba.ee.idl.StructEntry
-
- com.sun.tools.corba.ee.idl.ExceptionEntry
-
public class ExceptionEntry extends StructEntry
This is the symbol table entry for exceptions. An exception is simply a struct by a different name.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static ExceptionGenexceptionGen-
Fields inherited from class com.sun.tools.corba.ee.idl.StructEntry
structGen
-
Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExceptionEntry()protectedExceptionEntry(ExceptionEntry that)protectedExceptionEntry(SymtabEntry that, IDLID clone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()This is a shallow copy clonevoidgenerate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the exception generator.Generatorgenerator()Access the exception generator.-
Methods inherited from class com.sun.tools.corba.ee.idl.StructEntry
addContained, addMember, contained, members
-
Methods inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, enteringInclude, exitingInclude, fullName, getVariableKey, growVars, initDynamicVars, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
-
-
-
-
Field Detail
-
exceptionGen
static ExceptionGen exceptionGen
-
-
Constructor Detail
-
ExceptionEntry
protected ExceptionEntry()
-
ExceptionEntry
protected ExceptionEntry(ExceptionEntry that)
-
ExceptionEntry
protected ExceptionEntry(SymtabEntry that, IDLID clone)
-
-
Method Detail
-
clone
public java.lang.Object clone()
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classStructEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the exception generator.- Overrides:
generatein classStructEntry- Parameters:
symbolTable- the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.stream- the stream to which the generator should sent its output.- See Also:
SymtabEntry
-
generator
public Generator generator()
Access the exception generator.- Overrides:
generatorin classStructEntry- Returns:
- an object which implements the ExceptionGen interface.
- See Also:
ExceptionGen
-
-