public class FlowEventArgs extends Object
Constructor and Description |
---|
FlowEventArgs(FlowEvent event,
String infoStr,
Exception ex,
int respCode) |
Modifier and Type | Method and Description |
---|---|
FlowEvent |
getEvent()
Gets the type of the event.
|
Exception |
getException()
Gets the optional exception that raised the event,
null if
not applicable. |
String |
getInfo()
Gets the optional string providing additional information about the event,
null if unavailable. |
int |
getResponseCode()
Gets the optional appliance response code,
0 if unavailable. |
String |
toString() |
public FlowEvent getEvent()
public String getInfo()
null
if unavailable.public Exception getException()
null
if
not applicable.
If the event is raised due to an error response from the appliance, this
field will be of type JCSMPErrorResponseException
and the
JCSMPErrorResponseException.getSubcode()
method can be used to
get more information about the error response.null
if
unavailable.public int getResponseCode()
0
if unavailable.0
if unavailable.Copyright 2004-2024 Solace Corporation. All rights reserved.