fipaos.platform
Class RegistrationException

|
+--fipaos.platform.RegistrationException
Direct Known Subclasses:
AMSRegistrationException, DFRegistrationException

public class RegistrationException
extends FIPAOSException

RegistrationException is an umbrella exception type that covers all exceptions relating to
actions concerning the registration information of agents. Subclasses of this exception can
occur during initial registration, modification of registration details, or agent deregistration actions.


Constructor Summary
RegistrationException()
          Creates an exception with no reason
RegistrationException(String error)
          Creates an exception with the given reason
RegistrationException(String error, String reason)
          Creates an exception with the given reason

Method Summary
 StringgetExceptionReason()
          Returns the exception reason

Constructor Detail

RegistrationException

public RegistrationException()
Creates an exception with no reason

RegistrationException

public RegistrationException(String error)
Creates an exception with the given reason
Parameters:
error - The human readable reason for the exception

RegistrationException

public RegistrationException(String error, String reason)
Creates an exception with the given reason
Parameters:
error - The human readable reason for the exception
reason - The reason for the exception
Method Detail

getExceptionReason

public String getExceptionReason()
Returns the exception reason
Returns: The reason for the exception

Association Links

to Class java.lang.String

The reason that caused the exception