darx
Class UnknownReplicantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
darx.DarxException
darx.UnknownReplicantException
- All Implemented Interfaces:
- java.io.Serializable
public class UnknownReplicantException
- extends DarxException
This exception is thrown when no replicant of a given task
can be found at a specified location.
It is originally conceived to be used only within
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 |
UnknownReplicantException
public UnknownReplicantException(ReplicantInfo info)
- Constructs a new instance of the class.
- Parameters:
info
- the information concerning the unknown replicant.
getLocation
public java.lang.String getLocation()
- Returns:
- the URL of the host where the replicant is being looked for.
getTaskName
public java.lang.String getTaskName()
- Returns:
- the name of the replicated task in concern.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- the information conveyed by this exception, in String format.