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.