TaxApiException Class
Contains details about any exceptions during the tax calculation
process. Extends the ApexBaseException
class.
Namespace
TaxApiException Constructors
Learn more about the available constructors with the TaxApiException class.
The TaxApiException class includes these constructors.
TaxApiException(var1, var2)
TaxApiException(var1)
Initializes the TaxApiException
class using an Exception. This constructor is intended for
test usage and throws an exception if used outside of the Apex test context.
Signature
global TaxApiException(Exception var1)
Parameters
- var1
- Type: Exception
- An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods.