All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.stub.gsoap.gsoap_exception.h.vm Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
$codewriter.setCurrentCxxFilename("gsoap_exception.h")
#pragma once
\#include 
namespace net {
	namespace gdface {
		namespace exception {
			// gsoap异常类 
			// $GENERAED_BY
			class gsoap_exception :public std::logic_error {
			public:
				// 继承基类构造函数 
				using std::logic_error::logic_error;
				// soap错误代码 
				int error;
				// 构造函数 
				// error soap 错误代码 参见 http://www.genivia.com/doc/soapdoc2.html#tth_sEc10.2 或 stdsoap2.h
				// faultstring 错误描述信息 
				gsoap_exception(int error,const std::string &faultstring=""):std::logic_error(faultstring),error(error){}
			};
		} /* namespace exception */
	} /* namespace gdface */
} /* namespace net */




© 2015 - 2025 Weber Informatics LLC | Privacy Policy