private static CoreException createCoreException(final Throwable exception){
  return new CoreException(new Status(IStatus.ERROR,RefactoringCore.ID_PLUGIN,IRefactoringCoreStatusCodes.REFACTORING_HISTORY_IO_ERROR,exception.getLocalizedMessage(),exception));
}

private static CoreException createCoreException ( final Throwable exception ) { return new CoreException ( new Status ( IStatus . ERROR , RefactoringCore . ID_PLUGIN , IRefactoringCoreStatusCodes . REFACTORING_HISTORY_IO_ERROR , exception . getLocalizedMessage ( ) , exception ) ) ; }
creates a new core exception representing an i / o error .
