throwAsException

Throws this error as a CDPException, preserving the original code, message, and data.

Parameters

method

The command method name that triggered the error.