All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customers.errors.CustomerInvalidCredentials Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.customers.errors;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.errors.SphereError;

/**
 * A customer endpoint specific error, the account with the given credentials have not been found.
 *
 * {@include.example io.sphere.sdk.customers.commands.CustomerChangePasswordCommandTest#execution()}
 */
public class CustomerInvalidCredentials extends SphereError {
    public static final String CODE = "InvalidCredentials";

    @JsonCreator
    private CustomerInvalidCredentials(final String message) {
        super(CODE, message);
    }

    public static CustomerInvalidCredentials of(final String message) {
        return new CustomerInvalidCredentials(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy