**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception
```
public class EvalException extends System.Exception
```

Custom exception for evaluation errors
## Constructors

| Constructor | Description |
| --- | --- |
| [EvalException(String message, int position)](#EvalException-java.lang.String-int-) | Initializes a new instance of the `EvalException` class. |
## Methods

| Method | Description |
| --- | --- |
| [getMessage()](#getMessage--) | Gets the message associated with this exception |
### EvalException(String message, int position) {#EvalException-java.lang.String-int-}
```
public EvalException(String message, int position)
```


Initializes a new instance of the `EvalException` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The message. |
| position | int | The position. |

### getMessage() {#getMessage--}
```
public String getMessage()
```


Gets the message associated with this exception

**Returns:**
java.lang.String
