public static class ProductErrorMessage.Identifier extends Object implements Comparable<ProductErrorMessage.Identifier>
ProductErrorMessage| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ProductErrorMessage.Identifier o) |
boolean |
equals(Object obj) |
ProductErrorMessage |
errorMessage(Translatable message,
Translatable cause,
Translatable action)
Produce a
ProductErrorMessage instance for this error code |
int |
hashCode() |
static ProductErrorMessage.Identifier |
of(CharSequence prefix,
int code) |
String |
toString() |
public ProductErrorMessage errorMessage(Translatable message, Translatable cause, Translatable action)
ProductErrorMessage instance for this error codemessage - The errorcause - The cause of the erroraction - The action to take to address the errorProductErrorMessagepublic static ProductErrorMessage.Identifier of(CharSequence prefix, int code)
public int compareTo(ProductErrorMessage.Identifier o)
compareTo in interface Comparable<ProductErrorMessage.Identifier>