|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
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.CannotActivateException
public class CannotActivateException
A CannotActivateException is thrown from the activateWaitingBroker() runtime operation if the attempt to activate the broker fails, because the broker is not in the correct state, or for other reasons. This exception contains an 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.activateWaitingBroker()
,
ProxyRuntimeException.getTargetException()
,
MBeanException.getTargetException()
,
Serialized FormField Summary | |
---|---|
static int |
ERR_NOTRECOVERABLE
The broker cannot be activated because it is not recoverabble, i.e. |
static int |
ERR_NOTWAITING
The broker cannot be activated because it is not in the WAITING state |
static int |
ERR_UNSPECIFIED
The attempt to activate the broker failed for an unspecified reason. |
Constructor Summary | |
---|---|
CannotActivateException(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_NOTRECOVERABLE
public static final int ERR_NOTWAITING
public static final int ERR_UNSPECIFIED
Constructor Detail |
---|
public CannotActivateException(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 All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |