1. /*
  2. * @(#)RemarshalException.java 1.5 01/11/29
  3. *
  4. * Copyright 2002 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. This class is used for reporting locate forward exceptions and object forward
  10. GIOP messages back to the ORB. In this case the ORB must remarshal the request
  11. before trying again.
  12. Stubs which use the stream-based model shall catch the <code>RemarshalException</code>
  13. which is potentially thrown from the <code>_invoke()</code> method of <code>ObjectImpl</code>.
  14. Upon catching the exception, the stub shall immediately remarshal the request by calling
  15. <code>_request()</code>, marshalling the arguments (if any), and then calling
  16. <code>_invoke()</code>. The stub shall repeat this process until <code>_invoke()</code>
  17. returns normally or raises some exception other than <code>RemarshalException</code>.
  18. */
  19. public final class RemarshalException extends Exception {
  20. /**
  21. * Constructs a RemarshalException.
  22. */
  23. public RemarshalException() {
  24. super();
  25. }
  26. }