gov.llnl.babel.symbols
Class SymbolRedefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.llnl.babel.symbols.SymbolRedefinitionException
All Implemented Interfaces:
java.io.Serializable

public class SymbolRedefinitionException
extends java.lang.Exception

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

See Also:
Serialized Form

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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymbolRedefinitionException

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

Method Detail

getOldSymboID

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


getNewSymbolID

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