|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.rim.device.api.io.messaging.MessagingException
net.rim.device.api.io.messaging.MessageFailureException
public class MessageFailureException
Exception generated by failure to send a Message. Failure could be due to interrupted connection, invalid address, HTTP 500 error, etc.
Constructor Summary | ||
---|---|---|
MessageFailureException(String reason)
Constructs a new MessageFailureException . |
||
MessageFailureException(String reason,
int messageID)
Constructs a new MessageFailureException . |
Method Summary | ||
---|---|---|
int |
getCorrelatedMessageId()
Return the ID of the Message that generated this failure. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageFailureException(String reason, int messageID)
MessageFailureException
.
reason
- Description of the reason for the message failure.messageID
- ID of the Message
that generated this failure.public MessageFailureException(String reason)
MessageFailureException
.
reason
- Description of the reason for the message failure.Method Detail |
---|
public int getCorrelatedMessageId()
Message
that generated this failure.
Message
that generated this failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.