org.jboss.narayana.blacktie.jatmibroker.xatmi
Class ResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.narayana.blacktie.jatmibroker.xatmi.ConnectionException
              extended by org.jboss.narayana.blacktie.jatmibroker.xatmi.ResponseException
All Implemented Interfaces:
Serializable

public class ResponseException
extends ConnectionException

This is the exception that is raised if a response condition needs to be notified to the client.

See Also:
Serialized Form

Constructor Summary
ResponseException(int tperrno, String string, long event, int rcode, Buffer received)
          An exception for reporting events
 
Method Summary
 long getEvent()
          Get the event
 int getRcode()
          Get the rcode.
 Buffer getReceived()
          Get a received buffer
 
Methods inherited from class org.jboss.narayana.blacktie.jatmibroker.xatmi.ConnectionException
getTperrno
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseException

public ResponseException(int tperrno,
                         String string,
                         long event,
                         int rcode,
                         Buffer received)
An exception for reporting events

Parameters:
tperrno - This will always be TPEEVENT
string - The message
event - The event may be any from Connection
received - A received buffer
rcode - The rcode in case of TPFAIL
Method Detail

getEvent

public long getEvent()
Get the event

Returns:
The event

getRcode

public int getRcode()
Get the rcode.

Returns:
The rcode.

getReceived

public Buffer getReceived()
Get a received buffer

Returns:
The received buffer


Copyright © 2011. All Rights Reserved.