1 package org.apache.velocity.exception; 2 3 18 19 30 public class MethodInvocationException extends VelocityException 31 { 32 private String methodName = ""; 33 private String referenceName = ""; 34 private Throwable wrapped = null; 35 36 44 public MethodInvocationException( String message, Throwable e, String methodName ) 45 { 46 super(message); 47 this.wrapped = e; 48 this.methodName = methodName; 49 } 50 51 57 public String getMethodName() 58 { 59 return methodName; 60 } 61 62 68 public Throwable getWrappedThrowable() 69 { 70 return wrapped; 71 } 72 73 78 public void setReferenceName( String ref ) 79 { 80 referenceName = ref; 81 } 82 83 89 public String getReferenceName() 90 { 91 return referenceName; 92 } 93 } 94 | Popular Tags |