KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > legacy > connection > GetEndPointInfoAgainException


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
8 package com.sun.corba.se.spi.legacy.connection;
9
10 import com.sun.corba.se.spi.transport.SocketInfo;
11
12 /**
13  * This exception is raised by <code>ORBSocketFactory.createSocket</code>.
14  * It informs the ORB that it should call
15  * <code>ORBSocketFactory.getEndPointInfo</code> again with the
16  * given <code>socketInfo</code> object as an argument (i.e., a cookie).
17  *
18  */

19
20 public class GetEndPointInfoAgainException
21     extends Exception JavaDoc
22 {
23     private SocketInfo socketInfo;
24
25     public GetEndPointInfoAgainException(SocketInfo socketInfo)
26     {
27         this.socketInfo = socketInfo;
28     }
29
30     public SocketInfo getEndPointInfo()
31     {
32         return socketInfo;
33     }
34 }
35
Popular Tags