com.sun.spot.interisolate
Class ExceptionReplyEnvelope
java.lang.Object
com.sun.squawk.io.mailboxes.Envelope
com.sun.spot.interisolate.ReplyEnvelope
com.sun.spot.interisolate.ExceptionReplyEnvelope
public class ExceptionReplyEnvelope
- extends ReplyEnvelope
- See Also:
for details
This class allows exceptions to be returned from inter-isolate RPC calls.
ExceptionReplyEnvelope
public ExceptionReplyEnvelope(int requestUid,
Throwable ex)
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
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.