PageRenderTime 35ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/MalApi/MalApiRequestException.cs

https://bitbucket.org/LHCGreg/mal-api
C# | 38 lines | 18 code | 2 blank | 18 comment | 0 complexity | e7086c9b3f78bbef863422e90d570216 MD5 | raw file
Possible License(s): Apache-2.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace MalApi
  6. {
  7. /// <summary>
  8. /// Thrown when there is an error communicating with MAL.
  9. /// </summary>
  10. [Serializable]
  11. public class MalApiRequestException : MalApiException
  12. {
  13. public MalApiRequestException() { }
  14. public MalApiRequestException(string message) : base(message) { }
  15. public MalApiRequestException(string message, Exception inner) : base(message, inner) { }
  16. protected MalApiRequestException(
  17. System.Runtime.Serialization.SerializationInfo info,
  18. System.Runtime.Serialization.StreamingContext context)
  19. : base(info, context) { }
  20. }
  21. }
  22. /*
  23. Copyright 2011 Greg Najda
  24. Licensed under the Apache License, Version 2.0 (the "License");
  25. you may not use this file except in compliance with the License.
  26. You may obtain a copy of the License at
  27. http://www.apache.org/licenses/LICENSE-2.0
  28. Unless required by applicable law or agreed to in writing, software
  29. distributed under the License is distributed on an "AS IS" BASIS,
  30. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  31. See the License for the specific language governing permissions and
  32. limitations under the License.
  33. */