new String[] { String.valueOf(method), e.getMessage() });
new String[] { String.valueOf(method), e.toString() });
	public static Object invokeMethod(View view, BshMethod method, Object[] args)	{		if(view != null)		{			EditPane editPane = view.getEditPane();			interp.setVariable("view",view);			interp.setVariable("editPane",editPane);			interp.setVariable("buffer",editPane.getBuffer());			interp.setVariable("textArea",editPane.getTextArea());		}		Object returnValue;		try		{			returnValue = method.invokeDeclaredMethod(args,interp);		}		catch(Throwable e)		{			returnValue = null;			if(e instanceof InvocationTargetException)				e = ((InvocationTargetException)e).getTargetException();			Log.log(Log.ERROR,BeanShell.class,e);			GUIUtilities.error(view,"beanshell-error",				new String[] { String.valueOf(method), e.getMessage() });		}		if(view != null)		{			interp.setVariable("view",null);			interp.setVariable("editPane",null);			interp.setVariable("buffer",null);			interp.setVariable("textArea",null);		}		return returnValue;	}