fipaos.platform
Class RegistrationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--fipaos.FIPAOSException
|
+--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.
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 |
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
getExceptionReason
public String getExceptionReason()
- Returns the exception reason
- Returns: The reason for the exception
to Class java.lang.String- The reason that caused the exception