• Classes
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

acsexmplErrorComponent.idl

Go to the documentation of this file.
00001 #ifndef _ERROR_COMPONENT_IDL_
00002 #define _ERROR_COMPONENT_IDL_
00003 
00004 /*******************************************************************************
00005 *    ALMA - Atacama Large Millimiter Array
00006 *
00007 *    (c) European Southern Observatory, 2002
00008 *    Copyright by ESO (in the framework of the ALMA collaboration)
00009 *    and Cosylab 2002, All rights reserved
00010 *
00011 *    This library is free software; you can redistribute it and/or
00012 *    modify it under the terms of the GNU Lesser General Public
00013 *    License as published by the Free Software Foundation; either
00014 *    version 2.1 of the License, or (at your option) any later version.
00015 *
00016 *    This library is distributed in the hope that it will be useful,
00017 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019 *    Lesser General Public License for more details.
00020 *
00021 *    You should have received a copy of the GNU Lesser General Public
00022 *    License along with this library; if not, write to the Free Software
00023 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00024 *
00025 * "@(#) $Id: acsexmplErrorComponent.idl,v 1.10 2010/11/10 16:58:09 rbourtem Exp $"
00026 *
00027 * who       when      what
00028 * --------  --------  ----------------------------------------------
00029 * david 2002-09-26 added more comments
00030 */
00031 
00032 #include <acscomponent.idl>
00033 #include <ACSErrTypeCommon.idl>
00034 
00035 #pragma prefix "alma"
00036 
00037 
00038 module acsexmplErrorComponent 
00039 {
00047     interface ErrorComponent : ACS::ACSComponent
00048         {
00057         void displayMessage();
00058         
00068         void badMethod(in short depth) raises (ACSErrTypeCommon::GenericErrorEx, ACSErrTypeCommon::UnexpectedExceptionEx);
00069 
00070 
00080         void exceptionFromCompletion(in short depth) raises (ACSErrTypeCommon::GenericErrorEx);
00081 
00082 
00095         void typeException(in short depth) raises (ACSErrTypeCommon::GenericErrorEx, 
00096                                                    ACSErrTypeCommon::ACSErrTypeCommonEx);
00097 
00098 
00103         void corbaSystemException();
00104 
00114         ACSErr::Completion completionFromException(in short depth);
00115 
00125         ACSErr::Completion completionFromCompletion(in short depth);
00126 
00127 
00137         ACSErr::Completion completionOnStack(in short depth);
00138 
00146         void outCompletion(out ACSErr::Completion comp);
00147 
00159         void generateSIGFPE (in short way);
00160 
00172         void generateSIGSEGV (in short way);
00173         
00183         void sleepingCmd(in short nb_seconds);
00184         
00185         };
00186 
00187 };
00188 
00189 #endif

Generated on Thu Jan 12 2012 23:13:14 for ACS-10.0 IDL interfaces by  doxygen 1.7.0