fipaos.platform.ams
Class AMSRegistrationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--fipaos.FIPAOSException
|
+--fipaos.platform.RegistrationException
|
+--fipaos.platform.ams.AMSRegistrationException
- public class AMSRegistrationException
- extends RegistrationException
AMSRegistrationException is an umbrella exception type that covers all exceptions relating to
actions concerning the registration information of agents with the AMS. Subclasses of this exception can
occur during initial registration, modification of registration details, or agent deregistration actions.
Methods inherited from class java.lang.Throwable |
getMessage, getLocalizedMessage, toString, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
AMSRegistrationException
public AMSRegistrationException()
- Creates an exception with no reason
AMSRegistrationException
public AMSRegistrationException(String error)
- Creates an exception with the given reason
- Parameters:
- error - The reason for the exception
AMSRegistrationException
public AMSRegistrationException(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