PkgAgentSystem
Class InitializationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--PkgAgentSystem.AgentException
|
+--PkgAgentSystem.InitializationException
- public class InitializationException
- extends AgentException
Signifies that an exception occured during initialization of an agent.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
AgentBase.initialize(Object)
,
AgentSystem.startAgent(AgentBase,String,boolean,AgentIdentity,PrivateKey,Object)
,
AgentSystem.startAgent(String,String,boolean,AgentIdentity,PrivateKey,Object,boolean)
, Serialized Form
Field Summary |
protected Exception |
e
The contained exception, which occured during initialization of the agent.
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
e
protected Exception e
- The contained exception, which occured during initialization of the agent.
May be
null
, but then a detail message should be provided.
InitializationException
public InitializationException(String detail)
- Constructs a
InitializationException
with the specified detail message.
Use this if a problem occured during initialization which is not another exception.
- Parameters:
detail
- the detail message
InitializationException
public InitializationException(Exception e)
- Constructs a
InitializationException
with a certain exception. Use this if no
specific problem occured but rather somewhere else something went wrong during initialization.
- Parameters:
detail
- the detail message
InitializationException
public InitializationException()
- Constructs a
InitializationException
without a specified detail message.
getException
public Exception getException()
- Returns the contained exception.
- Returns:
- the exception which occured during initialization
toString
public String toString()
- Returns a string representation of the exception.
- Returns:
- a string representation of this exception. If an exception is contained,
its string representation is also included.
- Overrides:
- toString in class Throwable
Submit a bug
Copyright 2000 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.