1. /*
  2. * @(#)NullServant.java 1.2 03/12/19
  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.oa ;
  8. import org.omg.CORBA.SystemException ;
  9. /** NullServant is used to represent a null servant returned
  10. * OAInvocationInfo after a
  11. * ObjectAdapter.getInvocationServant( OAInvocationInfo ) call.
  12. * If the getInvocationServant call could not locate a servant
  13. * for the ObjectId in the OAInvocationInfo, getServantContainer
  14. * will contain a NullServant. Later stages of the request
  15. * dispatch may choose either to throw the exception or perform
  16. * some other action in response to the NullServant result.
  17. */
  18. public interface NullServant
  19. {
  20. /** Obtain the exception that is associated with this
  21. * NullServant instance.
  22. */
  23. SystemException getException() ;
  24. }