org.springframework.util.MethodInvoker#getTargetClass ( )源码实例Demo

下面列出了org.springframework.util.MethodInvoker#getTargetClass ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

/**
 * Constructor for JobMethodInvocationFailedException.
 * @param methodInvoker the MethodInvoker used for reflective invocation
 * @param cause the root cause (as thrown from the target method)
 */
public JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause) {
	super("Invocation of method '" + methodInvoker.getTargetMethod() +
			"' on target class [" + methodInvoker.getTargetClass() + "] failed", cause);
}
 
/**
 * Constructor for JobMethodInvocationFailedException.
 * @param methodInvoker the MethodInvoker used for reflective invocation
 * @param cause the root cause (as thrown from the target method)
 */
public JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause) {
	super("Invocation of method '" + methodInvoker.getTargetMethod() +
			"' on target class [" + methodInvoker.getTargetClass() + "] failed", cause);
}
 
源代码3 项目: lams   文件: JobMethodInvocationFailedException.java
/**
 * Constructor for JobMethodInvocationFailedException.
 * @param methodInvoker the MethodInvoker used for reflective invocation
 * @param cause the root cause (as thrown from the target method)
 */
public JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause) {
	super("Invocation of method '" + methodInvoker.getTargetMethod() +
			"' on target class [" + methodInvoker.getTargetClass() + "] failed", cause);
}
 
/**
 * Constructor for JobMethodInvocationFailedException.
 * @param methodInvoker the MethodInvoker used for reflective invocation
 * @param cause the root cause (as thrown from the target method)
 */
public JobMethodInvocationFailedException(MethodInvoker methodInvoker, Throwable cause) {
	super("Invocation of method '" + methodInvoker.getTargetMethod() +
			"' on target class [" + methodInvoker.getTargetClass() + "] failed", cause);
}