com.funambol.mail
Class MailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.funambol.util.CodedException
                  extended by com.funambol.mail.MailException
All Implemented Interfaces:
java.io.Serializable

public class MailException
extends com.funambol.util.CodedException

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

See Also:
Serialized Form

Field Summary
static int FOLDER_ERROR
          Folder error
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 MESSAGE_DELETE_ERROR
          Error removing message
static int MESSAGE_ERROR
          Message error
 
Fields inherited from class com.funambol.util.CodedException
CONCURRENCE_ERROR, LIMIT_ERROR, MEMORY_ERROR, STORAGE_ERROR
 
Constructor Summary
MailException(int code, java.lang.String message)
           
 
Method Summary
 
Methods inherited from class com.funambol.util.CodedException
getCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

MESSAGE_DELETE_ERROR

public static final int MESSAGE_DELETE_ERROR
Error removing message

See Also:
Constant Field Values
Constructor Detail

MailException

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


Copyright © 2006 Funambol.