|
|||||||||
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.blackberry.api.mail.MessagingException
net.rim.blackberry.api.mail.FolderNotFoundException
public class FolderNotFoundException
Thrown by Folder
methods when those methods are invoked on a
non-existent folder.
Field Summary | ||
---|---|---|
|
protected String |
_folderName
Name of the non-existent folder on which a method was invoked. |
Constructor Summary | ||
---|---|---|
|
FolderNotFoundException(String folderName)
Constructs a new FolderNotFoundException instance with provided folder name. |
|
|
FolderNotFoundException(String folderName,
String s)
Constructs a new FolderNotFoundException instance with provided folder name and detail message. |
Method Summary | ||
---|---|---|
|
String |
getFolderName()
Retrieves the name of the folder for which the exception was thrown. |
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 |
Field Detail |
---|
protected String _folderName
Constructor Detail |
---|
public FolderNotFoundException(String folderName)
folderName
- Name of the non-existent folder.public FolderNotFoundException(String folderName, String s)
folderName
- Name of the non-existent folder.s
- Detailed error message.Method Detail |
---|
public String getFolderName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal