org.apache.activemq.command
Class ExceptionResponse
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.Response
org.apache.activemq.command.ExceptionResponse
- All Implemented Interfaces:
- Command, DataStructure
public class ExceptionResponse
- extends Response
- Version:
- $Revision: 1.4 $
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
ExceptionResponse
public ExceptionResponse()
ExceptionResponse
public ExceptionResponse(java.lang.Throwable e)
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- Overrides:
getDataStructureType
in class Response
- Returns:
- The type of the data structure
getException
public java.lang.Throwable getException()
setException
public void setException(java.lang.Throwable exception)
isException
public boolean isException()
- Overrides:
isException
in class Response
Copyright © 2011 Apache Software Foundation. All Rights Reserved.