Name
ReadOnlyFolderException
Synopsis
This exception is thrown when a read/write method is called on a read-only folder, or on a folder retrieved from a read-only message store.
public class ReadOnlyFolderException extends MessagingException { // Public Constructors public ReadOnlyFolderException( Folder folder); public ReadOnlyFolderException(Folder folder, String message); // Public Instance Methods public Folder getFolder(); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.