public final class SendResult extends Object
Constructor | Description |
---|---|
SendResult() |
Construct a SendResult signifying a successful send carrying no exception.
|
SendResult(Throwable exception) |
Construct a SendResult carrying an exception.
|
Modifier and Type | Method | Description |
---|---|---|
Throwable |
getException() |
The problem sending the message.
|
boolean |
isOK() |
Determines if this result is ok or not.
|
public SendResult(Throwable exception)
exception
- the exception causing a send failure.public SendResult()
public Throwable getException()
null
if the send was successful.public boolean isOK()
Copyright © 2019 JBoss by Red Hat. All rights reserved.