public class NameCollisionException
extends java.lang.Exception
CommandLineDictionary.addCommandLineSwitch(gov.llnl.babel.cli.CommandLineSwitch) when the
client attempts to add a switch that has the same name as an
entry already in the dictionary.| Constructor and Description |
|---|
NameCollisionException(CommandLineSwitch cls)
Create an exception indicating that there is a name space
collision between command line switches.
|
| Modifier and Type | Method and Description |
|---|---|
CommandLineSwitch |
getConflict()
Return the item in the dictionary with which the new entry conflicts.
|
public NameCollisionException(CommandLineSwitch cls)
cls - the command line switch that the new entry
conflicted withpublic CommandLineSwitch getConflict()