Skip to content

Commit

Permalink
Exceptions renamed to common c# names
Browse files Browse the repository at this point in the history
We may have to change the name of the namespace, but right now it's
OpenTokSDK.Exception, related to issue #
  • Loading branch information
eauge committed May 10, 2014
1 parent 6cd9200 commit b3de410
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sdk/Src/Exception/OpenTokException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down

1 comment on commit b3de410

@eauge
Copy link
Owner

@eauge eauge commented on b3de410 May 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes issue #18

Please sign in to comment.