Package com.jwplayer.pub.api.errors
Enum ExceptionKey
- java.lang.Object
-
- java.lang.Enum<ExceptionKey>
-
- com.jwplayer.pub.api.errors.ExceptionKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExceptionKey>
public enum ExceptionKey extends java.lang.Enum<ExceptionKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description badConnection
cantLoadPlayer
cantPlayVideo
liveStreamDown
protectedContent
technicalError
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExceptionKey
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExceptionKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
badConnection
public static final ExceptionKey badConnection
-
cantLoadPlayer
public static final ExceptionKey cantLoadPlayer
-
cantPlayVideo
public static final ExceptionKey cantPlayVideo
-
liveStreamDown
public static final ExceptionKey liveStreamDown
-
protectedContent
public static final ExceptionKey protectedContent
-
technicalError
public static final ExceptionKey technicalError
-
-
Method Detail
-
values
public static ExceptionKey[] 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 (ExceptionKey c : ExceptionKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExceptionKey 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 namejava.lang.NullPointerException
- if the argument is null
-
-