public class FolderException extends Exception
Modifier and Type | Field and Description |
---|---|
static String |
ALREADY_EXISTS_LOCALLY |
static String |
ALREADY_EXISTS_REMOTELY |
static String |
IF_CREATED_LOCAL |
static String |
IF_CREATED_REMOTE |
static String |
LOCAL_BUT_DELETED |
static String |
NOT_LOCAL |
Constructor and Description |
---|
FolderException(Exception ex)
Constructor wrapping original exception.
|
FolderException(String message)
Construct a new
MailboxException instance. |
FolderException(String message,
Exception ex)
Constructor wrapping original exception.
|
FolderException(String message,
String aStatus)
Construct a new
MailBoxException instance. |
FolderException(String message,
String aStatus,
String aServer)
Construct a new
MailBoxException instance. |
Modifier and Type | Method and Description |
---|---|
String |
getRemoteServer() |
String |
getResponseCode() |
String |
getStatus() |
boolean |
isRemote() |
void |
setResponseCode(String responseCode) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ALREADY_EXISTS_LOCALLY
public static final String ALREADY_EXISTS_REMOTELY
public static final String IF_CREATED_LOCAL
public static final String IF_CREATED_REMOTE
public static final String NOT_LOCAL
public static final String LOCAL_BUT_DELETED
public FolderException(String message)
MailboxException
instance.message
- The detail message for this exception (mandatory).public FolderException(Exception ex)
ex
- The cause.public FolderException(String message, Exception ex)
message
- The detail message for this exception (mandatory).ex
- The cause.public FolderException(String message, String aStatus)
MailBoxException
instance.message
- The detail message for this exception (mandatory).aStatus
- String constant indicating conditionpublic FolderException(String message, String aStatus, String aServer)
MailBoxException
instance.message
- The detail message for this exception (mandatory).aStatus
- String constant indicating conditionaServer
- String indicating another server where Mailbox should be.Copyright © 2006–2017 Icegreen Technologies. All rights reserved.