From b3de410de33a20a3d140c2bfd15f5732e03392ed Mon Sep 17 00:00:00 2001 From: eauge Date: Sat, 10 May 2014 13:04:30 -0700 Subject: [PATCH] Exceptions renamed to common c# names We may have to change the name of the namespace, but right now it's OpenTokSDK.Exception, related to issue # --- Sdk/Src/Exception/OpenTokException.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sdk/Src/Exception/OpenTokException.cs b/Sdk/Src/Exception/OpenTokException.cs index 71c8188..9c1faac 100644 --- a/Sdk/Src/Exception/OpenTokException.cs +++ b/Sdk/Src/Exception/OpenTokException.cs @@ -40,17 +40,17 @@ public int GetErrorCode() } } - public class OpenTokInvalidArgumentException : OpenTokException + public class OpenTokArgumentException : OpenTokException { - public OpenTokInvalidArgumentException(string message) + public OpenTokArgumentException(string message) : base(message, 400) { } } - public class OpenTokRequestException : OpenTokException + public class OpenTokWebException : OpenTokException { - public OpenTokRequestException(string message, int code) + public OpenTokWebException(string message, int code) : base(message, code) { }