|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--jade.domain.FIPAException
This class represents a generic FIPAException, i.e. one of
NotUnderstood,Failure,Refuse, as defined in
jade.domain.FIPAAgentManagement
. It has two
constructors, one based on an ACLMessage, and the second based on its
content, i.e. the exception message.
Constructor Summary | |
FIPAException(ACLMessage message)
Constructs a FIPAException from the given ACL
message. |
|
FIPAException(java.lang.String message)
Constructs a generic FIPAException . |
Method Summary | |
ACLMessage |
getACLMessage()
Retrieve the ACL message whose content is represented by this exception. |
java.lang.String |
getMessage()
Get the content of the ACL message representing this exception |
protected void |
setMessage(java.lang.String message)
Set the content of the ACL message representing this exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FIPAException(java.lang.String message)
FIPAException
. The ACL message
performative is defaulted to not-understood
.
message
- is the content of the ACLMessagepublic FIPAException(ACLMessage message)
FIPAException
from the given ACL
message.
message
- is the ACL message representing this exceptionMethod Detail |
public ACLMessage getACLMessage()
protected void setMessage(java.lang.String message)
message
- is the contentpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |