class ErrorMessage
extends java.lang.Object
| Constructor and Description |
|---|
ErrorMessage() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
appendParameterList(java.lang.StringBuffer stringBuffer,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
Appends a list of parameter types to
stringBuffer. |
static java.lang.String |
noSuchConstructor(java.lang.Class<?> targetClass,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
Returns a message describing a
NoSuchMethodException that occurred on a constructor lookup. |
static java.lang.String |
noSuchMethod(java.lang.Class<?> targetClass,
java.lang.String methodName,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
Returns a message describing a
NoSuchMethodException that occurred on a method lookup. |
public static java.lang.String noSuchMethod(java.lang.Class<?> targetClass,
java.lang.String methodName,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
NoSuchMethodException that occurred on a method lookup.targetClass - the target class of the not found methodmethodName - the name of the not found methodparameterTypes - parameter list of the not found methodpublic static java.lang.String noSuchConstructor(java.lang.Class<?> targetClass,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
NoSuchMethodException that occurred on a constructor lookup.targetClass - the target class of the not found constructorparameterTypes - parameter list of the not found constructorprivate static void appendParameterList(java.lang.StringBuffer stringBuffer,
java.util.List<? extends Value<java.lang.Class<?>>> parameterTypes)
stringBuffer.