Code example for InvocationTargetException

0
			} catch (InterruptedException e) {
				throw e;
			} catch (InvocationTargetException e) {
				throw e;
			} catch (Throwable e) {
				throw new InvocationTargetException(e);
			} 
			finally { 
				mon.done();
			} 
		} 
 
		static boolean isDefaultProjectLocation(String projectName, File projectDir) {
			IPath workspaceLoc = Platform.getLocation();
			if (workspaceLoc!=null) {
				File defaultLoc = new File(workspaceLoc.toFile(), projectName);
				return defaultLoc.equals(projectDir);
			} 
			return false; 
		}