---
title: "Parse Error Event"
id: "parse-error-event"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/parse-error-event"
updated: 2026-12-01T00:45:25Z
---

# Parse Error Event

This event is triggered by a web service listener if a call to run the web service generates a parsing error on the operation data.

## Object Functions
getErrorMessage()
Description

Gets error message from the Parse Error.
 
Syntax

**getErrorMessage()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) message - A String object describing the Parse Error.

* Scope

All

getException()
Description

Gets the exception for the parse error, if any.
 
Syntax

**getException()**

* Parameters

None

* Returns

[WSException](/articles/user-manual/WS-Exception) exception - The exception for the parse error occurred.

* Scope

All

getOperation()
Description

Gets the Web Service Operation that failed.
 
Syntax

**getOperation()**

* Parameters

None

* Returns

[WSOperation](/articles/user-manual/WS-Operation) operation - A Web Service Operation object representing the operation that failed.

* Scope

All

getVariablePath()
Description

Gets path to the Web Service Variable that failed to parse.
 
Syntax

**getVariablePath()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) path - A String object that represents the path to the Web Service Variable that failed to parse.

* Scope

All

setErrorMessage(message)
Description

Sets error message for the Parse Error.
 
Syntax

**setErrorMessage(message)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) message - A String object describing the Parse Error.

* Returns

Nothing

* Scope

All

setException(exception)
Description

Sets the exception for the parse error.
 
Syntax

**setException(exception)**

* Parameters

[WSException](/articles/user-manual/WS-Exception) exception - The exception to set the parse error for.

* Returns

Nothing

* Scope

All

setVariablePath(path)
Description

Sets the path for Web Service Variable that failed to parse.
 
Syntax

**setVariablePath(path)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) path - A String object that represents the path to the Web Service Variable that failed to parse.

* Returns

Nothing

* Scope

All

 © Sepasoft. All rights reserved. 
 [Send feedback](mailto:support@clickhelp.com) on this topic to Sepasoft.