ResolutionException Class

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

CommerceExtension

The following are constructors for ResolutionException.

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

public ResolutionException(String errorMessage, Exception exception)

  • errorMessage:

    Type: String

    Error message.

  • exception:

    Type: Exception

    Exception.

Constructor that takes an exception as an argument,

public ResolutionException(Exception exception)

Constructor that takes an error message as an argument.

public ResolutionException(String errorMessage)

  • errorMessage:

    Type: String

    Error message.

Default constructor for the ResolutionException class.

public ResolutionException()

The following are methods for the ResolutionException class.

Returns the type of the exception.

public String getTypeName()

Type: String

The type of the Exception.