|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sonicsw.mf.common.MFException
com.sonicsw.mq.common.runtime.MFDurableOperationException
public class MFDurableOperationException
An MFDurableOperationException can be thrown from a number of methods that interact
with durable subscriptions. If there is an error that is generated as a result
of a runtime operation on a durable subscription, an MFDurableOperationException will
be propagated via a ProxyRuntimeException to the application.
The MFDurableOperationException can be accessed via a MBeanException that
can be retrieved via the ProxyRuntimeException.getTargetException()
method. Use the MBeanException.getTargetException() method to retrieve the
MFDurableOperationException.
The MFDurableOperationException has a corresponding error code that can be utilized
to further determine the cause of the exception. An explanation of the errors are provided
for each code (see ERR_<> below).
IBrokerProxy.closeBrowser( com.sonicsw.mq.common.runtime.IBrowseToken ),
IBrokerProxy.createDurableBrowseToken(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.lang.Boolean ),
IBrokerProxy.createDurableBrowseTokenFromDSD(com.sonicsw.mq.common.runtime.IDurableSubscriptionData, java.lang.Boolean ),
IBrokerProxy.createDurableMessageHeaderToken(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.lang.String ),
IBrokerProxy.createDurableMessageHeaderTokenDSD( com.sonicsw.mq.common.runtime.IDurableSubscriptionData, java.lang.String ),
IBrokerProxy.getBrowseMessages(com.sonicsw.mq.common.runtime.IBrowseToken, java.lang.Integer ),
IBrokerProxy.getMessage(com.sonicsw.mq.common.runtime.IMessageHeaderToken),
IBrokerProxy.removeMessage(com.sonicsw.mq.common.runtime.IMessageHeaderToken),
IBrokerProxy.searchMessage(com.sonicsw.mq.common.runtime.IMessageHeaderToken),
IBrokerProxy.setBrowseInactiveTimeout(com.sonicsw.mq.common.runtime.IBrowseToken, java.lang.Integer),
ProxyRuntimeException.getTargetException(),
MBeanException.getTargetException(),
MFDurableOperationException,
Serialized Form| Field Summary | |
|---|---|
static int |
ERR_BROWSER_NOT_FOUND
The browser is not found. |
static int |
ERR_MESSAGE_NOT_FOUND
The specified message is not found. |
static int |
ERR_SUBSCRIBER_ACTIVE
The durable subscriber is currently connected. |
static int |
ERR_SUBSCRIBER_NOT_FOUND
The specified subscriber is not found. |
static int |
ERR_UNABLE_TO_COMPLETE
The request was unable to complete due to a failure. |
static int |
NO_ERROR
There is no error |
| Constructor Summary | |
|---|---|
MFDurableOperationException(int errorcode)
Create a durable operation exception |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Get the error code |
| Methods inherited from class com.sonicsw.mf.common.MFException |
|---|
getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ERR_BROWSER_NOT_FOUND
public static final int ERR_MESSAGE_NOT_FOUND
public static final int ERR_SUBSCRIBER_ACTIVE
public static final int ERR_SUBSCRIBER_NOT_FOUND
public static final int ERR_UNABLE_TO_COMPLETE
public static final int NO_ERROR
| Constructor Detail |
|---|
public MFDurableOperationException(int errorcode)
errorcode - The error code that indicates the type of error.| Method Detail |
|---|
public int getErrorCode()
|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||