public final class Status
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Status.StatusType
The status type.
|
Constructor and Description |
---|
Status(Status.StatusType type,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of producer action failure.
|
Status.StatusType |
getType()
Gets the status type
|
public Status(Status.StatusType type, java.lang.Throwable cause)
public Status.StatusType getType()
public java.lang.Throwable getCause()