|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteteg.sinon.executor.ErrorResponse
public class ErrorResponse
Class that represents the different type of actions to be taken
after the handling of an error by method
ErrorListener.onError(eteg.sinon.exception.SinonException)
.
ErrorListener
,
ErrorListener.onError(eteg.sinon.exception.SinonException)
Field Summary | |
---|---|
static ErrorResponse |
RESUME_NEXT
Constant that defines the action of ignoring the error. |
static ErrorResponse |
RETRY
Constant that defines the action of trying again. |
static ErrorResponse |
STOP
Constant that defines the action of stopping. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
boolean |
isResumeNext()
Returns true if the action to be taken is ignoring the
error. |
boolean |
isRetry()
Returns true if the action to be taken is trying again. |
boolean |
isStop()
Returns true if the action to be taken is stopping. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ErrorResponse STOP
public static final ErrorResponse RETRY
public static final ErrorResponse RESUME_NEXT
Method Detail |
---|
public boolean isStop()
true
if the action to be taken is stopping.
true
if the action to be taken is stopping,
false
otherwise.public boolean isRetry()
true
if the action to be taken is trying again.
true
if the action to be taken is trying again,
false
otherwise.public boolean isResumeNext()
true
if the action to be taken is ignoring the
error.
true
if the action to be taken is ignoring the
error, false
otherwise.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |