1. /*
  2. * @(#)ForwardException.java 1.7 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. /*
  8. * @(#)ForwardException.java 1.6 98/02/09
  9. *
  10. * Copyright 1993-1997 Sun Microsystems, Inc. 901 San Antonio Road,
  11. * Palo Alto, California, 94303, U.S.A. All Rights Reserved.
  12. *
  13. * This software is the confidential and proprietary information of Sun
  14. * Microsystems, Inc. ("Confidential Information"). You shall not
  15. * disclose such Confidential Information and shall use it only in
  16. * accordance with the terms of the license agreement you entered into
  17. * with Sun.
  18. *
  19. * CopyrightVersion 1.2
  20. *
  21. */
  22. package com.sun.corba.se.internal.POA;
  23. import com.sun.corba.se.internal.core.IOR;
  24. /**
  25. * Thrown to signal an OBJECT_FORWARD or LOCATION_FORWARD
  26. */
  27. public class ForwardException extends Exception {
  28. private IOR forwardedIOR;
  29. public ForwardException(IOR ior) {
  30. super();
  31. forwardedIOR = ior;
  32. }
  33. public IOR getIOR()
  34. {
  35. return forwardedIOR;
  36. }
  37. }