Hello group , By doing this this.getclass().getName(); we get the name of the class we are in . Is there any way to get the name of the method we are in ?
In jdk1.4 only: throw and catch an exception. You can find the method name form the stacktrace: http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace()