Adobe.com
Contents Suites Classes Class Index Member Index

ATEException.h

Go to the documentation of this file.
00001 /* -------------------------------------------------------------------------------
00002 
00003     Copyright 2000-2006 Adobe Systems Incorporated. All Rights Reserved.
00004 
00005     NOTICE:  Adobe permits you to use, modify, and distribute this file 
00006     in accordance with the terms of the Adobe license agreement accompanying 
00007     it. If you have received this file from a source other than Adobe, then 
00008     your use, modification, or distribution of it requires the prior written 
00009     permission of Adobe.
00010 
00011  ----------------------------------------------------------------------------------
00012 
00013         File:   Exception.h
00014                 
00015         Notes:  define ATE exception class.
00016         
00017  ---------------------------------------------------------------------------------- */
00018 #ifndef __Exception__
00019 #define __Exception__
00020 #include <exception>
00021 #include "ATETypes.h" //for error values.
00022 
00023 namespace ATE
00024 {
00025 
00026 class Exception : public std::exception
00027 {
00028 public:
00029         Exception(ATEErr errorCode)
00030         :error(errorCode)
00031         {
00032         }
00033 // error code
00034         ATEErr error;
00035 };
00036 
00037 
00038 }// namespace ATE
00039 
00040 #endif //__Exception__


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks