updateStatus(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), 0, "The selcted class is not a subclass of java.lang.Throwable", null));
updateStatus(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), 0, "The selected class is not a subclass of java.lang.Throwable", null));
	protected void okPressed() {		//if (fAddFromListRadio.getSelection()) {		//	fResult= fTypeList.getSelection().get(0);		//} else {		//	fResult= fExceptionName.getText();		//		TypeRef typeRef= (TypeRef)fTypeList.getSelection().get(0);		IType resolvedType= null;		try {			resolvedType= typeRef.resolveType(SearchEngine.createWorkspaceScope());		} catch (JavaModelException e) {			updateStatus(e.getStatus());			return;		}		fExceptionType= getExceptionType(resolvedType);		if (fExceptionType == NO_EXCEPTION) {			updateStatus(new Status(IStatus.ERROR, JavaPlugin.getPluginId(), 0, "The selcted class is not a subclass of java.lang.Throwable", null));			return;		}		fIsCaughtSelected= fCaughtBox.getSelection();		fIsUncaughtSelected= fUncaughtBox.getSelection();		fResult= resolvedType;		super.okPressed();	}