Class MethodMatcherException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MethodMatcherException
    extends TestNGException
    Thrown from MethodMatcher.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.String generateMessage​(java.lang.String message, java.lang.reflect.Constructor constructor, java.lang.Object[] args)  
      static java.lang.String generateMessage​(java.lang.String message, java.lang.reflect.Method method, java.lang.Object[] args)  
      private static java.lang.String generateMessage​(java.lang.String message, java.lang.String name, java.lang.String prefix, java.lang.reflect.Parameter[] parameter, java.lang.Object[] args)  
      private static java.lang.String stringify​(java.lang.Object object)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MethodMatcherException

        public MethodMatcherException​(java.lang.String message,
                                      java.lang.reflect.Method method,
                                      java.lang.Object[] args)
      • MethodMatcherException

        public MethodMatcherException​(java.lang.String message)
      • MethodMatcherException

        public MethodMatcherException​(java.lang.String message,
                                      java.lang.Throwable cause)
      • MethodMatcherException

        public MethodMatcherException​(java.lang.Throwable cause)
    • Method Detail

      • generateMessage

        static java.lang.String generateMessage​(java.lang.String message,
                                                java.lang.reflect.Constructor constructor,
                                                java.lang.Object[] args)
      • generateMessage

        public static java.lang.String generateMessage​(java.lang.String message,
                                                       java.lang.reflect.Method method,
                                                       java.lang.Object[] args)
      • generateMessage

        private static java.lang.String generateMessage​(java.lang.String message,
                                                        java.lang.String name,
                                                        java.lang.String prefix,
                                                        java.lang.reflect.Parameter[] parameter,
                                                        java.lang.Object[] args)
      • stringify

        private static java.lang.String stringify​(java.lang.Object object)