|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gov.llnl.babel.cli.NameCollisionException
public class NameCollisionException
This exception is thrown by 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 Summary | |
|---|---|
NameCollisionException(CommandLineSwitch cls)
Create an exception indicating that there is a name space collision between command line switches. |
|
| Method Summary | |
|---|---|
CommandLineSwitch |
getConflict()
Return the item in the dictionary with which the new entry conflicts. |
| 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 |
|---|
public NameCollisionException(CommandLineSwitch cls)
cls - the command line switch that the new entry
conflicted with| Method Detail |
|---|
public CommandLineSwitch getConflict()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||