public enum HoneyUCExceptionException extends Enum<HoneyUCExceptionException> implements HoneyExceptionAssert
| Enum Constant and Description |
|---|
INVALID_TOKEN
Invalid token
|
INVALID_TOKEN_NOT_HAVE_USER_ID_CLAIM
Invalid token not have userId claim
|
TOKEN_NOT_FOUND
Token not found
|
USER_NOT_FOUND
user not found
|
| Modifier and Type | Method and Description |
|---|---|
static HoneyUCExceptionException |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoneyUCExceptionException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnewException, newExceptiongetCode, getMessageassertIsNull, assertIsTrue, assertNotEmpty, assertNotEmpty, assertNotNull, throwExceptionpublic static final HoneyUCExceptionException TOKEN_NOT_FOUND
public static final HoneyUCExceptionException INVALID_TOKEN
public static final HoneyUCExceptionException INVALID_TOKEN_NOT_HAVE_USER_ID_CLAIM
public static final HoneyUCExceptionException USER_NOT_FOUND
public static HoneyUCExceptionException[] values()
for (HoneyUCExceptionException c : HoneyUCExceptionException.values()) System.out.println(c);
public static HoneyUCExceptionException valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.