|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.ourgrid.common.exception.OurgridException
org.ourgrid.gridmachine.exception.FailCauseException
org.ourgrid.mygrid.replicaexecutor.exception.ReplicaFailedException
public class ReplicaFailedException
Description: Thrown whenever a replica fails.
Constructor Summary | |
---|---|
ReplicaFailedException(ReplicaEntry replica,
ExecutorResult replicaResult)
Main constructor. |
|
ReplicaFailedException(ReplicaEntry replica,
ExecutorResult replicaResult,
java.lang.Throwable newDetail)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Gets a formatted message for this exception |
ReplicaEntry |
getReplica()
Gets the replica |
ExecutorResult |
getReplicaResult()
Gets the result of the replica that failed |
java.lang.String |
getSimpleMessage()
Used to acquire a simple message determining the fail cause. |
Methods inherited from class org.ourgrid.common.exception.OurgridException |
---|
getStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplicaFailedException(ReplicaEntry replica, ExecutorResult replicaResult)
replica
- The replica that failed.replicaResult
- The replica resultpublic ReplicaFailedException(ReplicaEntry replica, ExecutorResult replicaResult, java.lang.Throwable newDetail)
replica
- The replica that failed.replicaResult
- The replica resultnewDetail
- Possible cause for the problemMethod Detail |
---|
public ExecutorResult getReplicaResult()
public ReplicaEntry getReplica()
public java.lang.String getMessage()
getMessage
in class OurgridException
public java.lang.String getSimpleMessage()
FailCauseException
getSimpleMessage
in class FailCauseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |