+ internal static HttpException NewWithCode (string message, int webEventCode)
+ {
+ var ret = new HttpException (message);
+ ret.SetWebEventCode (webEventCode);
+
+ return ret;
+ }
+
+ internal static HttpException NewWithCode (string message, Exception innerException, int webEventCode)
+ {
+ var ret = new HttpException (message, innerException);
+ ret.SetWebEventCode (webEventCode);
+
+ return ret;
+ }
+
+ internal static HttpException NewWithCode (int httpCode, string message, int webEventCode)
+ {
+ var ret = new HttpException (httpCode, message);
+ ret.SetWebEventCode (webEventCode);
+
+ return ret;
+ }
+
+ internal static HttpException NewWithCode (int httpCode, string message, Exception innerException, string resourceName, int webEventCode)
+ {
+ var ret = new HttpException (httpCode, message, innerException, resourceName);
+ 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 (int httpCode, string message, Exception innerException, int webEventCode)
+ {
+ var ret = new HttpException (httpCode, message, innerException);
+ ret.SetWebEventCode (webEventCode);
+
+ return ret;
+ }
+
+ internal void SetWebEventCode (int webEventCode)
+ {
+ this.webEventCode = webEventCode;
+ }
+