/* * @(#)UserException.java 1.43 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package org.omg.CORBA; /** * The root class for CORBA IDL-defined user exceptions. * All CORBA user exceptions are checked exceptions, which * means that they need to * be declared in method signatures. * * @see documentation on * Java IDL exceptions * @version 1.28 09/09/97 */ public abstract class UserException extends java.lang.Exception implements org.omg.CORBA.portable.IDLEntity { /** * Constructs a UserException object. * This method is called only by subclasses. */ protected UserException() { super(); } /** * Constructs a UserException object with a * detail message. This method is called only by subclasses. * * @param reason a String object giving the reason for this * exception */ protected UserException(String reason) { super(reason); } }