[강운덕] [LUCYSUS-1744] sql의 meta data를 따기 위한 일부 util및 agent수정 코드 부분 커밋.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1081 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2013-01-08 01:48:30 +00:00
parent c2bce47ec7
commit 1310e2d41b
6 changed files with 192 additions and 7 deletions
@@ -114,6 +114,11 @@ public class TomcatProfiler implements ClassFileTransformer {
}
String javassistClassName = className.replace('/', '.');
return findModifier.modify(classLoader, javassistClassName, protectionDomain, classFileBuffer);
try {
return findModifier.modify(classLoader, javassistClassName, protectionDomain, classFileBuffer);
} catch (Exception e) {
logger.log(Level.SEVERE, "Modifier:" + findModifier.getTargetClass() + " modify fail. Cause:" + e.getMessage(), e);
return null;
}
}
}