jade.core
Class NameClashException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jade.core.NameClashException
All Implemented Interfaces:
java.io.Serializable

public class NameClashException
extends java.lang.Exception

This exception is thrown when trying to create an agent with an already existing name.

Version:
$Date: 2005-01-10 17:14:29 +0100 (lun, 10 gen 2005) $ $Revision: 5513 $
Author:
Giovanni Rimassa - Universita` di Parma
See Also:
Serialized Form

Field Summary
static java.lang.String KEYWORD
          This constant string is used to distinguish a name clash from other reasons that may prevent the creation of an agent.
 
Constructor Summary
NameClashException()
          Construct a NameClashException with no detail message
NameClashException(java.lang.String msg)
          Construct a NameClashException with the given message.
 
Method Summary
 
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
 

Field Detail

KEYWORD

public static final java.lang.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 a NameClashException with no detail message


NameClashException

public NameClashException(java.lang.String msg)
Construct a NameClashException with the given message.

Parameters:
msg - The exception message.