Add debug for checking class availability

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@91 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2009-04-02 06:27:34 +00:00
parent 92c7f86c7d
commit 13920b74b5
1 changed files with 9 additions and 1 deletions

View File

@ -182,9 +182,13 @@ public class Main
}
catch (NoClassDefFoundError e)
{
if (_debug)
System.err.println(e);
}
catch (ClassNotFoundException e)
{
if (_debug)
System.err.println(e);
}
ClassLoader loader=_classpath.getClassLoader();
try
@ -194,9 +198,13 @@ public class Main
}
catch (NoClassDefFoundError e)
{
if (_debug)
System.err.println(e);
}
catch (ClassNotFoundException e)
{
if (_debug)
System.err.println(e);
}
return false;
}