org.eaglei.services.repository
Enum RepositoryProviderException.RepositoryProviderExceptionType
java.lang.Object
java.lang.Enum<RepositoryProviderException.RepositoryProviderExceptionType>
org.eaglei.services.repository.RepositoryProviderException.RepositoryProviderExceptionType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RepositoryProviderException.RepositoryProviderExceptionType>
- Enclosing class:
- RepositoryProviderException
public static enum RepositoryProviderException.RepositoryProviderExceptionType
- extends java.lang.Enum<RepositoryProviderException.RepositoryProviderExceptionType>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MOVED_PERMANENTLY
public static final RepositoryProviderException.RepositoryProviderExceptionType MOVED_PERMANENTLY
MOVED_TEMPORARILY
public static final RepositoryProviderException.RepositoryProviderExceptionType MOVED_TEMPORARILY
NOT_FOUND
public static final RepositoryProviderException.RepositoryProviderExceptionType NOT_FOUND
UNAUTHORIZED
public static final RepositoryProviderException.RepositoryProviderExceptionType UNAUTHORIZED
CONFLICT
public static final RepositoryProviderException.RepositoryProviderExceptionType CONFLICT
INTERNAL_SERVER_ERROR
public static final RepositoryProviderException.RepositoryProviderExceptionType INTERNAL_SERVER_ERROR
BAD_REQUEST
public static final RepositoryProviderException.RepositoryProviderExceptionType BAD_REQUEST
NOT_ACCEPTABLE
public static final RepositoryProviderException.RepositoryProviderExceptionType NOT_ACCEPTABLE
FORBIDDEN
public static final RepositoryProviderException.RepositoryProviderExceptionType FORBIDDEN
GONE
public static final RepositoryProviderException.RepositoryProviderExceptionType GONE
GENERAL
public static final RepositoryProviderException.RepositoryProviderExceptionType GENERAL
INVALID_SESSION
public static final RepositoryProviderException.RepositoryProviderExceptionType INVALID_SESSION
values
public static RepositoryProviderException.RepositoryProviderExceptionType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RepositoryProviderException.RepositoryProviderExceptionType c : RepositoryProviderException.RepositoryProviderExceptionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RepositoryProviderException.RepositoryProviderExceptionType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getMessage
public java.lang.String getMessage()
getHttpStatus
public int getHttpStatus()
getTypeFromStatus
public static RepositoryProviderException.RepositoryProviderExceptionType getTypeFromStatus(int status)
Copyright © 2009-2011 Eagle-I. All Rights Reserved.