KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > portable > RemarshalException


1 /*
2  * @(#)RemarshalException.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package org.omg.CORBA.portable;
8
9 /**
10 This class is used for reporting locate forward exceptions and object forward
11 GIOP messages back to the ORB. In this case the ORB must remarshal the request
12 before trying again.
13 Stubs which use the stream-based model shall catch the <code>RemarshalException</code>
14 which is potentially thrown from the <code>_invoke()</code> method of <code>ObjectImpl</code>.
15 Upon catching the exception, the stub shall immediately remarshal the request by calling
16 <code>_request()</code>, marshalling the arguments (if any), and then calling
17 <code>_invoke()</code>. The stub shall repeat this process until <code>_invoke()</code>
18 returns normally or raises some exception other than <code>RemarshalException</code>.
19 */

20
21 public final class RemarshalException extends Exception JavaDoc {
22     /**
23      * Constructs a RemarshalException.
24      */

25     public RemarshalException() {
26     super();
27     }
28 }
29
Popular Tags