String title= JavaUIMessages.OpenTypeAction_errorTitle; String message= JavaUIMessages.OpenTypeAction_errorMessage; ExceptionHandler.handle(x, title, message);
ExceptionHandler.handle(x, JavaUIMessages.OpenTypeAction_errorTitle, JavaUIMessages.OpenTypeAction_errorMessage);
	public void run() {		Shell parent= JavaPlugin.getActiveWorkbenchShell();		OpenTypeSelectionDialog2 dialog= new OpenTypeSelectionDialog2(parent, false, 			PlatformUI.getWorkbench().getProgressService(),			null, IJavaSearchConstants.TYPE);		dialog.setTitle(JavaUIMessages.OpenTypeAction_dialogTitle); 		dialog.setMessage(JavaUIMessages.OpenTypeAction_dialogMessage); 				int result= dialog.open();		if (result != IDialogConstants.OK_ID)			return;				Object[] types= dialog.getResult();		if (types != null && types.length > 0) {			IType type= (IType)types[0];			try {				IEditorPart part= EditorUtility.openInEditor(type, true);				EditorUtility.revealInEditor(part, type);			} catch (CoreException x) {				String title= JavaUIMessages.OpenTypeAction_errorTitle; 				String message= JavaUIMessages.OpenTypeAction_errorMessage; 				ExceptionHandler.handle(x, title, message);			}		}	}