Sun SPOT API
Green Release  


com.sun.spot.interisolate
Class ExceptionReplyEnvelope

java.lang.Object
  extended by com.sun.squawk.io.mailboxes.Envelope
      extended by com.sun.spot.interisolate.ReplyEnvelope
          extended by com.sun.spot.interisolate.ExceptionReplyEnvelope

public class ExceptionReplyEnvelope
extends ReplyEnvelope


Constructor Summary
ExceptionReplyEnvelope(Throwable ex)
           
 
Method Summary
 void checkForThrowable()
           
 Object getContents()
          Return the contents of the envelope.
 
Methods inherited from class com.sun.spot.interisolate.ReplyEnvelope
checkForRuntimeException
 
Methods inherited from class com.sun.squawk.io.mailboxes.Envelope
checkCallContext, getReplyAddress, getToAddress
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReplyEnvelope

public ExceptionReplyEnvelope(Throwable ex)
Method Detail

checkForThrowable

public void checkForThrowable()
                       throws Throwable
Overrides:
checkForThrowable in class ReplyEnvelope
Throws:
Throwable

getContents

public Object getContents()
Description copied from class: Envelope
Return the contents of the envelope. This should only be called by the receiver of the envelope. All implementations should call checkCallContext.

Specified by:
getContents in class Envelope
Returns:
the contents of the envelope

Sun SPOT API
Green Release  


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