Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ResolutionException Class

Exception indicating a problem with the execution of a resolution strategy.

Namespace

CommerceExtension

ResolutionException Constructors

The following are constructors for ResolutionException.

ResolutionException(errorMessage, exception)

Constructor that takes two arguments: an error message and an exception.

Signature

public ResolutionException(String errorMessage, Exception exception)

Parameters

  • errorMessage:

    Type: String

    Error message.

  • exception:

    Type: Exception

    Exception.

ResolutionException(exception)

Constructor that takes an exception as an argument,

Signature

public ResolutionException(Exception exception)

Parameters

ResolutionException(errorMessage)

Constructor that takes an error message as an argument.

Signature

public ResolutionException(String errorMessage)

Parameters

  • errorMessage:

    Type: String

    Error message.

ResolutionException()

Default constructor for the ResolutionException class.

Signature

public ResolutionException()

ResolutionException Methods

The following are methods for the ResolutionException class.

getTypeName()

Returns the type of the exception.

Signature

public String getTypeName()

Return Value

Type: String

The type of the Exception.