|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--net.rim.blackberry.api.mail.MessagingException | +--net.rim.blackberry.api.mail.SendFailedException
Thrown when a message cannot be sent.
The exception includes:
Addresses
to which the message could not be sent
Constructor Summary | ||
![]() |
SendFailedException()
Constructs a new SendFailedException instance. |
|
![]() |
SendFailedException(String s)
Constructs a new SendFailedException with provided detail message. |
|
![]() |
SendFailedException(String msg,
Address[] validSent,
Address[] validUnsent,
Address[] invalid)
Constructs a new SendFailedException instance with provided detail message and address objects. |
Method Summary | ||
![]() |
Address[] |
getInvalidAddresses()
Retrieves the invalid addresses to which this message could not be sent. |
![]() |
Address[] |
getValidSentAddresses()
Retrieves the addresses to which this message was sent succesfully. |
![]() |
Address[] |
getValidUnsentAddresses()
Retrieves the valid addresses to which this message was not sent. |
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 SendFailedException()
public SendFailedException(String s)
s
- Detail message for this exception.public SendFailedException(String msg, Address[] validSent, Address[] validUnsent, Address[] invalid)
msg
- Detail message for this exception.validSent
- List of valid addresses to which the message was sent.validUnsent
- List of valid addresses to which the message was not sent.invalid
- List of invalid message to which the message could not be sent.Method Detail |
public Address[] getInvalidAddresses()
public Address[] getValidSentAddresses()
public Address[] getValidUnsentAddresses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2008 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.