1. /*
  2. * @(#)GetEndPointInfoAgainException.java 1.9 04/06/21
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.spi.legacy.connection;
  8. import com.sun.corba.se.spi.transport.SocketInfo;
  9. /**
  10. * This exception is raised by <code>ORBSocketFactory.createSocket</code>.
  11. * It informs the ORB that it should call
  12. * <code>ORBSocketFactory.getEndPointInfo</code> again with the
  13. * given <code>socketInfo</code> object as an argument (i.e., a cookie).
  14. *
  15. */
  16. public class GetEndPointInfoAgainException
  17. extends Exception
  18. {
  19. private SocketInfo socketInfo;
  20. public GetEndPointInfoAgainException(SocketInfo socketInfo)
  21. {
  22. this.socketInfo = socketInfo;
  23. }
  24. public SocketInfo getEndPointInfo()
  25. {
  26. return socketInfo;
  27. }
  28. }