Package org.testng.internal.reflect
Class MethodMatcherException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.testng.TestNGException
-
- org.testng.internal.reflect.MethodMatcherException
-
- All Implemented Interfaces:
java.io.Serializable
public class MethodMatcherException extends TestNGException
Thrown from MethodMatcher.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodMatcherException(java.lang.String message)
MethodMatcherException(java.lang.String message, java.lang.reflect.Method method, java.lang.Object[] args)
MethodMatcherException(java.lang.String message, java.lang.Throwable cause)
MethodMatcherException(java.lang.Throwable cause)
-
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, Parameter[] parameter, java.lang.Object[] args)
private static java.lang.String
stringify(java.lang.Object object)
-
-
-
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, Parameter[] parameter, java.lang.Object[] args)
-
stringify
private static java.lang.String stringify(java.lang.Object object)
-
-