Sonic ESB API

com.sonicsw.xq.adapter
Class XQNotDeliveredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by com.sonicsw.xq.adapter.XQNotDeliveredException
All Implemented Interfaces:
java.io.Serializable

public class XQNotDeliveredException
extends javax.resource.ResourceException

This exception is thrown by XQMessageListener instances to signify an error during dispatch. The correct behavior is to not acknowledge the received message if the XQResourceAdapter has such notions of quality of service.

See Also:
Serialized Form

Constructor Summary
XQNotDeliveredException(java.lang.String message)
          creates a new instance with the appropriate message
XQNotDeliveredException(java.lang.String message, java.lang.String errorCode)
          creates a new instance with an error message and code
 
Method Summary
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQNotDeliveredException

public XQNotDeliveredException(java.lang.String message)
creates a new instance with the appropriate message

Parameters:
message - the error message

XQNotDeliveredException

public XQNotDeliveredException(java.lang.String message,
                               java.lang.String errorCode)
creates a new instance with an error message and code

Parameters:
message - the error message
errorCode - the error code

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.