1. /*
  2. * @(#)EnvironmentImpl.java 1.22 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. * Licensed Materials - Property of IBM
  9. * RMI-IIOP v1.0
  10. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  11. *
  12. * US Government Users Restricted Rights - Use, duplication or
  13. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  14. */
  15. package com.sun.corba.se.internal.corba;
  16. import org.omg.CORBA.Environment;
  17. import org.omg.CORBA.UserException;
  18. import org.omg.CORBA.ORB;
  19. public class EnvironmentImpl extends Environment {
  20. private Exception _exc;
  21. public EnvironmentImpl()
  22. {
  23. }
  24. public Exception exception()
  25. {
  26. return _exc;
  27. }
  28. public void exception(Exception exc)
  29. {
  30. _exc = exc;
  31. }
  32. public void clear()
  33. {
  34. _exc = null;
  35. }
  36. }