lime
Class AgentCreationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--lime.LimeException
                    |
                    +--lime.AgentCreationException
All Implemented Interfaces:
java.io.Serializable

public class AgentCreationException
extends LimeException

Raised when it's impossible to create an agent in a Lime server.

Version:
1.0 alpha
Author:
Amy L. Murphy, Gian Pietro Picco
See Also:
Serialized Form

Constructor Summary
AgentCreationException()
          Creates a new exception with no internal, lower-level exception.
AgentCreationException(java.lang.Exception e)
          Creates an exception that wraps an internal exception.
AgentCreationException(java.lang.Exception e, java.lang.String s)
          Creates an exception that wraps an internal exception.
AgentCreationException(java.lang.String s)
          Creates a new exception with no internal, lower-level exception.
 
Methods inherited from class lime.LimeException
getInternal, hasInternal, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentCreationException

public AgentCreationException()
Creates a new exception with no internal, lower-level exception.

AgentCreationException

public AgentCreationException(java.lang.String s)
Creates a new exception with no internal, lower-level exception.
Parameters:
s - an explanatory message for the exception.

AgentCreationException

public AgentCreationException(java.lang.Exception e)
Creates an exception that wraps an internal exception.
Parameters:
internal - the internal exception.

AgentCreationException

public AgentCreationException(java.lang.Exception e,
                              java.lang.String s)
Creates an exception that wraps an internal exception.
Parameters:
internal - the internal exception.
s - an explanatory message for the exception.