Package jade.core

Class 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
    • 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 a NameClashException with no detail message
      • NameClashException

        public NameClashException​(String msg)
        Construct a NameClashException with the given message.
        Parameters:
        msg - The exception message.