TaxApiException Class
Contains details about any exceptions during the tax calculation process. Extends the ApexBaseException class.
-
Learn more about the available constructors with the
TaxApiExceptionclass.
Learn more about the available constructors with the TaxApiException class.
The TaxApiException class includes these constructors.
-
Initializes the
TaxApiExceptionclass using anExceptionand a string to provide more details about the exception. This constructor is intended for test usage and throws an exception if used outside of the Apex test context. -
Initializes the
TaxApiExceptionclass using anException. This constructor is intended for test usage and throws an exception if used outside of the Apex test context. -
Initializes the
TaxApiExceptionclass without any initialized parameters. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
Initializes the TaxApiException class using an Exception and a string to provide more details about the exception. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global TaxApiException(String var1, Exception var2)
-
var1:
Type: String
Text that provides more information about
the returned exception.
-
var2:
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.
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.
global TaxApiException(Exception var1)
-
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.
Initializes the TaxApiException class without any initialized parameters. This constructor is intended for test usage and throws an exception if used outside of the Apex test context.
global TaxApiException()