00001 /* 00002 * Copyright(C) OASIS(R) 2006,2010. All Rights Reserved. 00003 * OASIS trademark, IPR and other policies apply. 00004 */ 00005 00013 #ifndef _oasis_sca_SCAException_h_ 00014 #define _oasis_sca_SCAException_h_ 00015 00016 namespace oasis { 00017 namespace sca { 00018 00022 class SCAException : public std::exception { 00023 public: 00024 00029 const char* getEClassName() const; 00030 00035 const char* getMessageText() const; 00036 00042 const char* getFileName() const; 00043 00049 unsigned long getLineNumber() const; 00050 00056 const char* getFunctionName() const; 00057 }; 00058 00059 00063 class SCANullPointerException : public SCAException { 00064 }; 00065 00066 00070 class ServiceRuntimeException : public SCAException { 00071 }; 00072 00073 00077 class ServiceUnavailablException : public ServiceRuntimeException { 00078 }; 00079 00080 00085 class MultipleServicesException : public ServiceRuntimeException { 00086 }; 00087 00088 00089 } // namespace sca 00090 } // namespace oasis 00091 00092 #endif /* _oasis_sca_SCAException_h_ */