com.atlassian.crowd.integration.rest.entity
Enum ErrorEntity.ErrorReason

java.lang.Object
  extended by java.lang.Enum<ErrorEntity.ErrorReason>
      extended by com.atlassian.crowd.integration.rest.entity.ErrorEntity.ErrorReason
All Implemented Interfaces:
Serializable, Comparable<ErrorEntity.ErrorReason>
Enclosing class:
ErrorEntity

public static enum ErrorEntity.ErrorReason
extends Enum<ErrorEntity.ErrorReason>


Enum Constant Summary
APPLICATION_ACCESS_DENIED
           
APPLICATION_NOT_FOUND
           
APPLICATION_PERMISSION_DENIED
           
EVENT_TOKEN_EXPIRED
           
EXPIRED_CREDENTIAL
           
GROUP_NOT_FOUND
           
ILLEGAL_ARGUMENT
           
INACTIVE_ACCOUNT
           
INCREMENTAL_SYNC_NOT_AVAILABLE
           
INVALID_CREDENTIAL
           
INVALID_EMAIL
           
INVALID_GROUP
           
INVALID_SSO_TOKEN
           
INVALID_USER
           
INVALID_USER_AUTHENTICATION
           
MEMBERSHIP_ALREADY_EXISTS
           
MEMBERSHIP_NOT_FOUND
           
NESTED_GROUPS_NOT_SUPPORTED
           
OPERATION_FAILED
           
UNSUPPORTED_OPERATION
           
USER_NOT_FOUND
           
WEBHOOK_NOT_FOUND
           
 
Method Summary
static ErrorEntity.ErrorReason of(Exception e)
           
static ErrorEntity.ErrorReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorEntity.ErrorReason[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

APPLICATION_ACCESS_DENIED

public static final ErrorEntity.ErrorReason APPLICATION_ACCESS_DENIED

APPLICATION_PERMISSION_DENIED

public static final ErrorEntity.ErrorReason APPLICATION_PERMISSION_DENIED

EXPIRED_CREDENTIAL

public static final ErrorEntity.ErrorReason EXPIRED_CREDENTIAL

GROUP_NOT_FOUND

public static final ErrorEntity.ErrorReason GROUP_NOT_FOUND

ILLEGAL_ARGUMENT

public static final ErrorEntity.ErrorReason ILLEGAL_ARGUMENT

INACTIVE_ACCOUNT

public static final ErrorEntity.ErrorReason INACTIVE_ACCOUNT

INVALID_USER_AUTHENTICATION

public static final ErrorEntity.ErrorReason INVALID_USER_AUTHENTICATION

INVALID_CREDENTIAL

public static final ErrorEntity.ErrorReason INVALID_CREDENTIAL

INVALID_EMAIL

public static final ErrorEntity.ErrorReason INVALID_EMAIL

INVALID_GROUP

public static final ErrorEntity.ErrorReason INVALID_GROUP

INVALID_SSO_TOKEN

public static final ErrorEntity.ErrorReason INVALID_SSO_TOKEN

INVALID_USER

public static final ErrorEntity.ErrorReason INVALID_USER

MEMBERSHIP_NOT_FOUND

public static final ErrorEntity.ErrorReason MEMBERSHIP_NOT_FOUND

MEMBERSHIP_ALREADY_EXISTS

public static final ErrorEntity.ErrorReason MEMBERSHIP_ALREADY_EXISTS

NESTED_GROUPS_NOT_SUPPORTED

public static final ErrorEntity.ErrorReason NESTED_GROUPS_NOT_SUPPORTED

APPLICATION_NOT_FOUND

public static final ErrorEntity.ErrorReason APPLICATION_NOT_FOUND

UNSUPPORTED_OPERATION

public static final ErrorEntity.ErrorReason UNSUPPORTED_OPERATION

USER_NOT_FOUND

public static final ErrorEntity.ErrorReason USER_NOT_FOUND

OPERATION_FAILED

public static final ErrorEntity.ErrorReason OPERATION_FAILED

EVENT_TOKEN_EXPIRED

public static final ErrorEntity.ErrorReason EVENT_TOKEN_EXPIRED

INCREMENTAL_SYNC_NOT_AVAILABLE

public static final ErrorEntity.ErrorReason INCREMENTAL_SYNC_NOT_AVAILABLE

WEBHOOK_NOT_FOUND

public static final ErrorEntity.ErrorReason WEBHOOK_NOT_FOUND
Method Detail

values

public static ErrorEntity.ErrorReason[] 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 (ErrorEntity.ErrorReason c : ErrorEntity.ErrorReason.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorEntity.ErrorReason valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

of

public static ErrorEntity.ErrorReason of(Exception e)


Copyright © 2013 Atlassian. All Rights Reserved.