#ifndef  _TCSControlExceptions_IDL_
#define  _TCSControlExceptions_IDL_
	
/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2003 
*
*This library is free software; you can redistribute it and/or
*modify it under the terms of the GNU Lesser General Public
*License as published by the Free Software Foundation; either
*version 2.1 of the License, or (at your option) any later version.
*
*This library is distributed in the hope that it will be useful,
*but WITHOUT ANY WARRANTY; without even the implied warranty of
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
*Lesser General Public License for more details.
*
*You should have received a copy of the GNU Lesser General Public
*License along with this library; if not, write to the Free Software
*Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
*
* "@(#) $Id: AES2IDL.xslt,v 1.9 2007/05/23 08:55:56 nbarriga Exp $"
*************  THIS FILE IS AUTOMATICALLY GENERATED !!!!!!
*/

#include <acserr.idl>

#pragma prefix "astri"
 	
module ACSErr 
{
	// type
	const ACSErr::ACSErrType TCSControlExceptions = 10000;
}; // module ACSErr

module TCSControlExceptions
{
	 const ACSErr::ErrorCode OPCUAError = 0;
	 const ACSErr::ErrorCode IllegalParameterError = 1;
	 const ACSErr::ErrorCode InvalidRequest = 2;
	 const ACSErr::ErrorCode CDBError = 3;
	 const ACSErr::ErrorCode XmlParserError = 4;
	 const ACSErr::ErrorCode DeviceBusy = 5;
	 const ACSErr::ErrorCode TELEError = 6;
	 const ACSErr::ErrorCode LATError = 7;
	 const ACSErr::ErrorCode INACTError = 8;
	 const ACSErr::ErrorCode CAMIDError = 9;
	 const ACSErr::ErrorCode SUBSYSError = 10;
	 const ACSErr::ErrorCode GPSTimeError = 11;
	 const ACSErr::ErrorCode HardwareError = 12;
	 const ACSErr::ErrorCode Timeout = 13;
	 const ACSErr::ErrorCode OSError = 14;
	 const ACSErr::ErrorCode AsynchronousFailure = 15;
	
	// excption for type:
	exception TCSControlExceptionsEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	// excptions for codes:
	exception OPCUAErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception IllegalParameterErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception InvalidRequestEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception CDBErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception XmlParserErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception DeviceBusyEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception TELEErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception LATErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception INACTErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception CAMIDErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception SUBSYSErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception GPSTimeErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception HardwareErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception TimeoutEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception OSErrorEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	exception AsynchronousFailureEx {
		ACSErr::ErrorTrace errorTrace;	
	};
	
	
}; // module TCSControlExceptions

#endif

