PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/MalApi/MalAnimeNotFoundException.cs

https://bitbucket.org/LHCGreg/mal-api
C# | 38 lines | 18 code | 2 blank | 18 comment | 0 complexity | 5f4c9a3d74250ce221ab6155f2b65596 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. /// Indicates that the anime that was searched for does not exist.
  9. /// </summary>
  10. [Serializable]
  11. public class MalAnimeNotFoundException : MalApiException
  12. {
  13. public MalAnimeNotFoundException() { }
  14. public MalAnimeNotFoundException(string message) : base(message) { }
  15. public MalAnimeNotFoundException(string message, Exception inner) : base(message, inner) { }
  16. protected MalAnimeNotFoundException(
  17. System.Runtime.Serialization.SerializationInfo info,
  18. System.Runtime.Serialization.StreamingContext context)
  19. : base(info, context) { }
  20. }
  21. }
  22. /*
  23. Copyright 2012 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. */