StoreClosedException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail Class StoreClosedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by javax.mail.StoreClosedException
所有已实现的接口:
Serializable

public class StoreClosedException
extends MessagingException

This exception is thrown when a method is invoked on a Messaging object and the Store that owns that object has died due to some reason. This exception should be treated as a fatal error; in particular any messaging object belonging to that Store must be considered invalid.

The connect method may be invoked on the dead Store object to revive it.

The getMessage() method returns more detailed information about the error that caused this exception.

作者:
John Mani
另请参见:
Serialized Form

构造器摘要
StoreClosedException(Store store)
          Constructor
StoreClosedException(Store store, String message)
          Constructor
 
方法摘要
 Store getStore()
          Returns the dead Store object
 
类方法继承 javax.mail.MessagingException
getCause, getNextException, setNextException, toString
 
类方法继承 java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

StoreClosedException

public StoreClosedException(Store store)
Constructor

参数:
store - The dead Store object


StoreClosedException

public StoreClosedException(Store store,
                            String message)
Constructor

参数:
store - The dead Store object
message - The detailed error message

方法详细信息

getStore

public Store getStore()
Returns the dead Store object


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.