|
|||||||||
| 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.safmq.MQException
public class MQException
Exception thrown in cases where the SAFMQ queue server has responded with an error code from within a constructor.
| Constructor Summary | |
|---|---|
MQException(java.lang.String msg,
int errorcode)
Constructs the MQException from a description message and error code. |
|
| Method Summary | |
|---|---|
int |
getErrorcode()
Provides the error code associated with the exception. |
| 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 |
|---|
public MQException(java.lang.String msg,
int errorcode)
msg - The description messageerrorcode - The error code, typically defined in the class Safmq.Safmq| Method Detail |
|---|
public int getErrorcode()
Safmq.EC_NOERROR,
Safmq.EC_TIMEDOUT,
Safmq.EC_NOTAUTHORIZED,
Safmq.EC_ALREADYCLOSED,
Safmq.EC_DOESNOTEXIST,
Safmq.EC_NOTOPEN,
Safmq.EC_NETWORKERROR,
Safmq.EC_TTLEXPIRED,
Safmq.EC_CURSORINVALIDATED,
Safmq.EC_DUPLICATEMSGID,
Safmq.EC_SERVERUNAVAIL,
Safmq.EC_NOMOREMESSAGES,
Safmq.EC_FILESYSTEMERROR,
Safmq.EC_CANNOTCHANGEGROUP,
Safmq.EC_CANNOTCHANGEUSER,
Safmq.EC_ALREADYDEFINED,
Safmq.EC_NOTIMPLEMENTED,
Safmq.EC_QUEUEOPEN,
Safmq.EC_NOTLOGGEDIN,
Safmq.EC_INVALIDNAME,
Safmq.EC_ERROR
|
Copyright Matthew J. Battey, 2004-2010; Powered By: |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||