1. /*
  2. * @(#)ForwardException.java 1.25 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.iiop;
  8. import com.sun.corba.se.internal.core.IOR;
  9. /**
  10. * Thrown to signal an OBJECT_FORWARD or LOCATION_FORWARD
  11. */
  12. public class ForwardException extends Exception {
  13. private IOR forwardedIOR;
  14. public ForwardException(IOR ior) {
  15. super();
  16. forwardedIOR = ior;
  17. }
  18. public IOR getIOR()
  19. {
  20. return forwardedIOR;
  21. }
  22. }