/* * Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE 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 */ 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); } }