Web driver in keyword is not work

def WrokflowEdit(String Masukan,String UrlXpath) {
String ExpectedValue = Masukan;
//‘Expected value from Table’
WebDriver driver = DriverFactory.getWebDriver()

	String cariKodeData = '//input[@class= "form-control input-md" and @type = "search"]'

	TestObject Caridata = new TestObject("CariDataWorkflow")
	Caridata.addProperty('xpath', ConditionType.CONTAINS, cariKodeData)
	WebUI.waitForElementVisible(Caridata, 10)
	WebUI.setText(Caridata, Masukan)
	WebUI.sendKeys(Caridata, Keys.chord(Keys.ENTER))
	WebUI.waitForAngularLoad(90, FailureHandling.STOP_ON_FAILURE)
	KeywordUtil.logInfo("kode yang di maksud adalah " +Caridata)

	//'To locate table'

	WebElement Table = driver.findElement(By.xpath(UrlXpath))
	

	//'To locate rows of table it will Capture all the rows available in the table '
	List<WebElement> Rows = Table.findElements(By.tagName('tr'))
	try {

		table: for (int i = 0; i < Rows.size(); i++) {

			List<WebElement> Cols = Rows.get(i).findElements(By.tagName('td'))

			for (int j = 0; j < Cols.size(); j++) {
				KeywordUtil.logInfo("kolom" + Cols.get(j).getText())

				if (Cols.get(j).getText().equalsIgnoreCase(ExpectedValue)) {
					
					KeywordUtil.logInfo("kolom " +Cols.get(j).getText())

					
					Cols.get(j).findElement(By.xpath('//*[@class="btn btn-link" and @name="customBtn" and @data-original-title="edit"]')).click()
					break
				}
				else
				{
					KeywordUtil.logInfo("kolom j tidak di temukan")
				}
			}
		}
	} catch (Exception e) {
		KeywordUtil.markFailed(e.detailMessage());
		e.printStackTrace()

any one can help, why my web driver is not working in my keyword?

my error is ::

Reason:
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: org.openqa.selenium.StaleElementReferenceException.detailMessage() is applicable for argument types: () values: []
Possible solutions: getMessage(), getMessage()
at Keywords.SetSearchMandiri.invokeMethod(SetSearchCanalis.groovy)
at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:50)
at FEE - EDIT.run(FEE - EDIT:23)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1572429053917.run(TempTestCase1572429053917.groovy:23)
Caused by: groovy.lang.MissingMethodException: No signature of method: org.openqa.selenium.StaleElementReferenceException.detailMessage() is applicable for argument types: () values: []
Possible solutions: getMessage(), getMessage()
at Keywords.SetSearchMandiri.WrokflowEdit(SetSearchCanalis.groovy:82)
… 14 more

Hi,

Use e.getMessage() or e.detailMessage

Thank you very much for your help, its work