eclipse plugin: return null if there was an exception

This commit is contained in:
Timotei Dolean 2010-07-04 20:25:16 +00:00
parent 7a634c6d0d
commit 230d4e9c96

View file

@ -67,6 +67,7 @@ public class ResourceUtils
} catch (Exception e)
{
e.printStackTrace();
return null;
} finally
{
try
@ -82,7 +83,7 @@ public class ResourceUtils
/**
* Creates the desired resource
*
*
* @param resource the resource to be created (IFile/IFolder)
* @param project the project where to be created the resource
* @param resourceName the name of the resource