Skip to main content
Pentaho Documentation

TransactionRejectedError

pentaho.type.changes.TransactionRejectedError

The TransactionRejectedError class wraps the reason used to reject a transaction and is thrown whenever a transaction is rejected through a transaction scope's reject method or the commit fails, through a transaction scope's accept method.

Extends

Constructor

Name Description
new TransactionRejectedError(reason)

Creates a transaction rejected error object given the rejection reason.

Members

Name Description
name : string

The name of the type of error.

Constructor Details

new TransactionRejectedError(reason)

Creates a transaction rejected error object given the rejection reason.

Source: javascript/web/pentaho/type/changes/TransactionRejectedError.js, line 24

Parameters:
Name Default Value Summary
reason : Error

The error message.

Members Details

name: string

The name of the type of error.

Source: javascript/web/pentaho/type/changes/TransactionRejectedError.js, line 65

Default Value: "TransactionRejectedError"

Overrides: pentaho.lang.UserError#name