public class StopError
extends java.lang.Exception
| Constructor and Description |
|---|
StopError(java.lang.String message) |
StopError(java.lang.String message,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApi()
Gets the
Channel method name in which the StopError occurred. |
void |
setApi(java.lang.String api)
Sets the
Channel method name in which the StopError occurred. |
public StopError(java.lang.String message,
java.lang.Throwable cause)
message - error descriptioncause - if StopError is thrown as consequence of another exception. If StopError is not caused by another
exception, then it is set to null.public StopError(java.lang.String message)
message - error descriptionpublic java.lang.String getApi()
Channel method name in which the StopError occurred.public void setApi(java.lang.String api)
Channel method name in which the StopError occurred.api - the Channel method name, e.g.: create, subscribe, consume, commit, run