Message Security Layer (MSL)

com.netflix.msl.msg
Enum MslControl.ApplicationError

java.lang.Object
  extended by java.lang.Enum<MslControl.ApplicationError>
      extended by com.netflix.msl.msg.MslControl.ApplicationError
All Implemented Interfaces:
Serializable, Comparable<MslControl.ApplicationError>
Enclosing class:
MslControl

public static enum MslControl.ApplicationError
extends Enum<MslControl.ApplicationError>

Application level errors that may translate into MSL level errors.


Enum Constant Summary
ENTITY_REJECTED
          The entity identity is no longer accepted by the application.
USER_REJECTED
          The user identity is no longer accepted by the application.
 
Method Summary
static MslControl.ApplicationError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MslControl.ApplicationError[] 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

ENTITY_REJECTED

public static final MslControl.ApplicationError ENTITY_REJECTED
The entity identity is no longer accepted by the application.


USER_REJECTED

public static final MslControl.ApplicationError USER_REJECTED
The user identity is no longer accepted by the application.

Method Detail

values

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

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

valueOf

public static MslControl.ApplicationError 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

Message Security Layer (MSL)

Copyright © 2014 Netflix, Inc. All Rights Reserved.