UtilExceptions.cs 412 B

12345678910111213141516
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Text;
  6. namespace Ant.Oracle
  7. {
  8. static class UtilExceptions
  9. {
  10. public static NotSupportedException NotSupportedMethod(MethodInfo method)
  11. {
  12. return new NotSupportedException(string.Format("Does not support method '{0}'.", Utils.ToMethodString(method)));
  13. }
  14. }
  15. }