fipaos.platform
Class RegistrationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--fipaos.FIPAOSException
                    |
                    +--fipaos.platform.RegistrationException
All Implemented Interfaces:
java.io.Serializable
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.

See Also:
Serialized Form

Constructor Summary
RegistrationException()
          Creates an exception with no reason
RegistrationException(java.lang.String error)
          Creates an exception with the given reason
RegistrationException(java.lang.String error, java.lang.String reason)
          Creates an exception with the given reason
 
Method Summary
 java.lang.String getExceptionReason()
          Returns the exception reason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistrationException

public RegistrationException()
Creates an exception with no reason

RegistrationException

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

RegistrationException

public RegistrationException(java.lang.String error,
                             java.lang.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 java.lang.String getExceptionReason()
Returns the exception reason
Returns:
The reason for the exception