|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ionic.Msmq.MessageQueueException
public class MessageQueueException
An exception type to wrap any problems that occur during MSMQ operations.
Field Summary | |
---|---|
int |
hresult
|
Constructor Summary | |
---|---|
MessageQueueException(int HRESULT)
|
|
MessageQueueException(java.lang.String message,
int HRESULT)
|
Method Summary | |
---|---|
java.lang.String |
toString()
Produce the string version for the given exception, including the string mnemonic for the HR wrapped by the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int hresult
Constructor Detail |
---|
public MessageQueueException(int HRESULT)
public MessageQueueException(java.lang.String message, int HRESULT)
Method Detail |
---|
public java.lang.String toString()
Produce the string version for the given exception, including the string mnemonic for the HR wrapped by the exception.
Example:
try { String label="testmessage"; String body= "...."; Message msg= new Message(body, label, null); queue.send(msg); } catch (MessageQueueException ex1) { System.out.println("Put failure: " + ex1.toString()); }
toString
in class java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |