darx
Class NoMoreReplicantsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
darx.DarxException
darx.NoMoreReplicantsException
- All Implemented Interfaces:
- java.io.Serializable
public class NoMoreReplicantsException
- extends DarxException
This exception is thrown when an operation has been attempted
on an empty replication group. For example, this can happen when
trying to determine a new leader although the previous one wasn't
replicated
It is originally conceived to be used only within<\B>
replication groups.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.RemoteException |
detail |
Methods inherited from class java.rmi.RemoteException |
getCause, getMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NoMoreReplicantsException
public NoMoreReplicantsException(java.lang.String task_name)
- Constructs a new instance of the class.
- Parameters:
task_name
- The generic name of the unrepresented agent.
getName
public java.lang.String getName()
- Returns:
- The generic name of the unrepresented agent.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- The explanation for the triggering of this exception.