public enum EEDMExceptionType extends Enum<EEDMExceptionType>
| Enum Constant and Description |
|---|
AUTHENTICATION
Generated when a client sends a request with authentication credentials and
the authentication fails for any reason.
|
AUTHORIZATION
Generated when a client sends a request to the server for which it is not
authorized.
|
INVALID_REQUEST
Generated when a client sends a request that is syntactically or
semantically invalid.
|
OBJECT_EXISTS
Generated when a SubmitObjectsRequest attempts to create an object with the
same id as an existing object and the mode is “CreateOnly”.
|
OBJECT_NOT_FOUND
Generated when a QueryRequest expects an object but it is not found in
server.
|
QUERY
Generated when the query syntax or semantics was invalid.
|
QUOTA_EXCEEDED
Generated when a a request exceeds a server specific quota for the client.
|
REFERENCES_EXIST
Generated when a RemoveObjectRequest attempts to remove a RegistryObject
while references to it still exist.
|
TIMEOUT
Generated when a the processing of a request exceeds a server specific
timeout period.
|
UNRESOLVED_REFERENCE
Generated when a request references an object that cannot be resolved
within the request or to an existing object in the server.
|
UNSUPPORTED_CAPABILITY
Generated when when a request attempts to use an optional feature or
capability that the server does not support.
|
| Modifier and Type | Method and Description |
|---|---|
static EEDMExceptionType |
getFromClassOrNull(Class<? extends eu.toop.regrep.rs.RegistryExceptionType> aClass)
Find the exception type enum entry matching the provided class name.
|
eu.toop.regrep.rs.RegistryExceptionType |
invoke() |
static EEDMExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EEDMExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEDMExceptionType AUTHENTICATION
public static final EEDMExceptionType AUTHORIZATION
public static final EEDMExceptionType INVALID_REQUEST
public static final EEDMExceptionType OBJECT_EXISTS
public static final EEDMExceptionType OBJECT_NOT_FOUND
public static final EEDMExceptionType QUOTA_EXCEEDED
public static final EEDMExceptionType REFERENCES_EXIST
public static final EEDMExceptionType TIMEOUT
public static final EEDMExceptionType UNRESOLVED_REFERENCE
public static final EEDMExceptionType UNSUPPORTED_CAPABILITY
public static final EEDMExceptionType QUERY
public static EEDMExceptionType[] values()
for (EEDMExceptionType c : EEDMExceptionType.values()) System.out.println(c);
public static EEDMExceptionType 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 null@Nonnull public eu.toop.regrep.rs.RegistryExceptionType invoke()
null@Nullable public static EEDMExceptionType getFromClassOrNull(@Nullable Class<? extends eu.toop.regrep.rs.RegistryExceptionType> aClass)
aClass - The class name to search. May be null.null if none was found.Copyright © 2020 toop.eu. All rights reserved.