Merge pull request #2681 from lukas-vlcek/master

Fix exception typo
This commit is contained in:
David Pilato 2013-02-24 00:14:11 -08:00
commit c689651706
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class HeapDumpContributor implements DumpContributor {
@Override
public void contribute(Dump dump) throws DumpContributionFailedException {
if (heapDumpMethod == null) {
throw new DumpContributionFailedException(getName(), "Heap dump not enalbed on this JVM");
throw new DumpContributionFailedException(getName(), "Heap dump not enabled on this JVM");
}
try {
heapDumpMethod.invoke(diagnosticMBean, dump.createFile("heap.hprof").getAbsolutePath(), true);