gov.llnl.babel.symbols

Class SymbolRedefinitionException


public class SymbolRedefinitionException
extends Exception

A SymbolRedefinitionException is thrown if a symbol is redefined improperly or if two symbols exist in the symbol table with the different versions.

Constructor Summary

SymbolRedefinitionException(SymbolID new_id, SymbolID old_id)
Create a new exception object for the specified symbol identifiers.

Method Summary

SymbolID
getNewSymbolID()
Return the symbol identifier for the new symbol.
SymbolID
getOldSymboID()
Return the symbol identifier for the old symbol.

Constructor Details

SymbolRedefinitionException

public SymbolRedefinitionException(SymbolID new_id,
                                   SymbolID old_id)
Create a new exception object for the specified symbol identifiers.

Method Details

getNewSymbolID

public SymbolID getNewSymbolID()
Return the symbol identifier for the new symbol.

getOldSymboID

public SymbolID getOldSymboID()
Return the symbol identifier for the old symbol.