com.funambol.mail
Class MailException

java.lang.Object
  extended by CodedException
      extended by com.funambol.mail.MailException

public class MailException
extends CodedException

Thrown by the classes of the Mail library. The codes used by the MailException are in the range 2000-2999


Field Summary
static int FOLDER_ERROR
          Folder error
static int FOLDER_NOT_FOUND_ERROR
          Error Folder not found
static int GENERIC_MAIL_ERR
          Generic code for an error in the Mail lib
static int INVALID_ADDRESS
          Invalid address
static int INVALID_CONTENT
          Invalid content type
static int ITEM_DELETE_ERROR
          Error removing store item
static int MESSAGE_ERROR
          Message error
 
Constructor Summary
MailException(int code, java.lang.String message)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERIC_MAIL_ERR

public static final int GENERIC_MAIL_ERR
Generic code for an error in the Mail lib

See Also:
Constant Field Values

INVALID_ADDRESS

public static final int INVALID_ADDRESS
Invalid address

See Also:
Constant Field Values

INVALID_CONTENT

public static final int INVALID_CONTENT
Invalid content type

See Also:
Constant Field Values

FOLDER_ERROR

public static final int FOLDER_ERROR
Folder error

See Also:
Constant Field Values

MESSAGE_ERROR

public static final int MESSAGE_ERROR
Message error

See Also:
Constant Field Values

ITEM_DELETE_ERROR

public static final int ITEM_DELETE_ERROR
Error removing store item

See Also:
Constant Field Values

FOLDER_NOT_FOUND_ERROR

public static final int FOLDER_NOT_FOUND_ERROR
Error Folder not found

See Also:
Constant Field Values
Constructor Detail

MailException

public MailException(int code,
                     java.lang.String message)


Copyright © 2001-2009 Funambol.