1. /*
  2. * @(#)UserException.java 1.38 00/02/02
  3. *
  4. * Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package org.omg.CORBA;
  11. /**
  12. * The root class for CORBA IDL-defined user exceptions.
  13. * All CORBA user exceptions are checked exceptions, which
  14. * means that they need to
  15. * be declared in method signatures.
  16. *
  17. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  18. * Java IDL exceptions</A>
  19. * @version 1.28 09/09/97
  20. */
  21. public abstract class UserException extends java.lang.Exception implements org.omg.CORBA.portable.IDLEntity {
  22. /**
  23. * Constructs a <code>UserException</code> object.
  24. * This method is called only by subclasses.
  25. */
  26. protected UserException() {
  27. super();
  28. }
  29. /**
  30. * Constructs a <code>UserException</code> object with a
  31. * detail message. This method is called only by subclasses.
  32. */
  33. protected UserException(String reason) {
  34. super(reason);
  35. }
  36. }