# Class: com.pnfsoftware.jeb.util.interpreter.ExecutionResult

An object representing the result of execution of an action, including a type integer \(return code\) and a message string.

## Static Field: CODE_ERROR
Type: `int`

Constant value: `-1`

## Static Field: CODE_NOT_IMPLEMENTED
Type: `int`

Constant value: `-3`

## Static Field: CODE_NOT_SUPPORTED
Type: `int`

Constant value: `-2`

## Static Field: CODE_SUCCESS
Type: `int`

Constant value: `0`

## Static Field: GENERIC_ERROR
Type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`

## Static Field: GENERIC_SUCCESS
Type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`

## Static Field: NOT_IMPLEMENTED
Type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`

## Static Field: NOT_SUPPORTED
Type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`

## Method: equals
- parameter: `obj`, type: `java.lang.Object`
- return type: `boolean`


## Method: getCode
- return type: `int`


## Method: getMessage
- return type: `java.lang.String`


## Method: hashCode
- return type: `int`


## Method: isError
- return type: `boolean`


## Method: isSuccess
- return type: `boolean`


## Method: toString
- return type: `java.lang.String`


## Static Method: error
- parameter: `msg`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


## Static Method: error
- parameter: `e`, type: `java.lang.Throwable`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


## Static Method: failure
- parameter: `msg`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


## Static Method: fromBoolean
- parameter: `success`, type: `boolean`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


## Static Method: fromObject
- parameter: `object`, type: `java.lang.Object`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


## Static Method: success
- parameter: `msg`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.util.interpreter.ExecutionResult`


