public static enum ErrorCollection.Reason extends Enum<ErrorCollection.Reason>
| Enum Constant and Description |
|---|
CONFLICT
Conflict with another user.
|
FORBIDDEN
Not allowed to perform function.
|
NOT_FOUND
That which you are seeking is not here.
|
SERVER_ERROR
We are all broken.
|
VALIDATION_FAILED
Data validation failed.
|
| Modifier and Type | Field and Description |
|---|---|
javax.ws.rs.core.Response.Status |
mappedStatus |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCollection.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCollection.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCollection.Reason SERVER_ERROR
public static final ErrorCollection.Reason FORBIDDEN
public static final ErrorCollection.Reason NOT_FOUND
public static final ErrorCollection.Reason VALIDATION_FAILED
public static final ErrorCollection.Reason CONFLICT
public static ErrorCollection.Reason[] values()
for (ErrorCollection.Reason c : ErrorCollection.Reason.values()) System.out.println(c);
public static ErrorCollection.Reason 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 © 2007–2025 Atlassian. All rights reserved.