public class ExceptionResponse extends Response
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
commandId, responseRequired
Constructor and Description |
---|
ExceptionResponse() |
ExceptionResponse(Throwable e) |
Modifier and Type | Method and Description |
---|---|
byte |
getDataStructureType() |
Throwable |
getException() |
boolean |
isException() |
void |
setException(Throwable exception) |
getCorrelationId, isResponse, setCorrelationId, visit
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
public static final byte DATA_STRUCTURE_TYPE
public ExceptionResponse()
public ExceptionResponse(Throwable e)
public byte getDataStructureType()
getDataStructureType
in interface DataStructure
getDataStructureType
in class Response
public Throwable getException()
public void setException(Throwable exception)
public boolean isException()
isException
in class Response
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.