public static Class < ? > getExceptionCallerClass ( final Throwable t ) { final StackTraceElement [ ] stackTrace = t . getStackTrace ( ) ; for ( final StackTraceElement stackTraceElement : stackTrace ) { logger . debug ( stackTraceElement . getClassName ( ) . concat ( "." ) . concat ( stackTraceElement . getMethodName ( ) ) ) ; } return null ; }
Gets the exception caller class .