Nitido Inc.

com.nitido.nimx.nuggets.javamail
Class InvalidUIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.nitido.nim.NiMException
              extended by com.nitido.nimx.nuggets.javamail.JavaMailNuggetException
                  extended by com.nitido.nimx.nuggets.javamail.InvalidUIDException
All Implemented Interfaces:
java.io.Serializable

public class InvalidUIDException
extends JavaMailNuggetException

This exception indicates the existing message UIDs are no longer valid. The UIDs became invalid because the backend mail server has altered them. As a result, the caller (of whatever method that throws this exception) should refetch all the required message UIDs and the folder's UIDValidity number. Then, the user should be asked to select the messages again before invoking whatever method originally is intended to.

This exception should occur relatively infrequent. But a programmer should keep an eye on such situation or they may risk modifying/deleting the wrong message.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.nitido.nim.NiMException
_errorCode
 
Constructor Summary
InvalidUIDException()
           
InvalidUIDException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class com.nitido.nimx.nuggets.javamail.JavaMailNuggetException
getRootCause
 
Methods inherited from class com.nitido.nim.NiMException
getErrorCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidUIDException

public InvalidUIDException()

InvalidUIDException

public InvalidUIDException(java.lang.String msg)

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.