Package jade.core
Class NameClashException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jade.core.NameClashException
-
- All Implemented Interfaces:
Serializable
public class NameClashException extends Exception
This exception is thrown when trying to create an agent with an already existing name.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita` di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameClashException()Construct aNameClashExceptionwith no detail messageNameClashException(String msg)Construct aNameClashExceptionwith the given message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
KEYWORD
public static final String KEYWORD
This constant string is used to distinguish a name clash from other reasons that may prevent the creation of an agent.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NameClashException
public NameClashException()
Construct aNameClashExceptionwith no detail message
-
NameClashException
public NameClashException(String msg)
Construct aNameClashExceptionwith the given message.- Parameters:
msg- The exception message.
-
-