public final class SendResult extends Object
| Constructor and 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 and 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 © 2012–2019 Oracle Corporation. All rights reserved.