Sun SPOT API
Green Release  


com.sun.squawk.io.mailboxes
Class AddressClosedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.sun.squawk.io.mailboxes.AddressClosedException

public class AddressClosedException
extends IOException

This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.


Constructor Summary
AddressClosedException(MailboxAddress closedAddress)
          Creates a new instance of AddressClosedException
 
Method Summary
 MailboxAddress getClosedAddress()
           
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressClosedException

public AddressClosedException(MailboxAddress closedAddress)
Creates a new instance of AddressClosedException

Method Detail

getClosedAddress

public MailboxAddress getClosedAddress()

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.