eclipse plugin: return null if there was an exception
This commit is contained in:
parent
7a634c6d0d
commit
230d4e9c96
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue