internal static HttpException NewWithCode(int httpCode, string message, Exception innerException, int webEventCode) { var ret = new HttpException(httpCode, message, innerException); ret.SetWebEventCode(webEventCode); return(ret); }
internal static HttpException NewWithCode(int httpCode, string message, string resourceName, int webEventCode) { var ret = new HttpException(httpCode, message, resourceName); ret.SetWebEventCode(webEventCode); return(ret); }
internal static HttpException NewWithCode(string message, int webEventCode) { var ret = new HttpException(message); ret.SetWebEventCode(webEventCode); return(ret); }
internal static HttpException NewWithCode (int httpCode, string message, Exception innerException, int webEventCode) { var ret = new HttpException (httpCode, message, innerException); ret.SetWebEventCode (webEventCode); return ret; }
internal static HttpException NewWithCode (int httpCode, string message, string resourceName, int webEventCode) { var ret = new HttpException (httpCode, message, resourceName); ret.SetWebEventCode (webEventCode); return ret; }
internal static HttpException NewWithCode (string message, int webEventCode) { var ret = new HttpException (message); ret.SetWebEventCode (webEventCode); return ret; }