com.brightcove.proserve.mediaapi.wrapper.exceptions
Enum ExceptionType

java.lang.Object
  extended by java.lang.Enum<ExceptionType>
      extended by com.brightcove.proserve.mediaapi.wrapper.exceptions.ExceptionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExceptionType>

public enum ExceptionType
extends java.lang.Enum<ExceptionType>

Types of BrightcoveException that can be thrown by calls to the Wrapper

Author:
Sander Gates

Enum Constant Summary
JAVA_EXCEPTION
           
MEDIA_API_EXCEPTION
           
UNKNOWN_TYPE
           
WRAPPER_EXCEPTION
           
 
Method Summary
static ExceptionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExceptionType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WRAPPER_EXCEPTION

public static final ExceptionType WRAPPER_EXCEPTION

MEDIA_API_EXCEPTION

public static final ExceptionType MEDIA_API_EXCEPTION

JAVA_EXCEPTION

public static final ExceptionType JAVA_EXCEPTION

UNKNOWN_TYPE

public static final ExceptionType UNKNOWN_TYPE
Method Detail

values

public static final ExceptionType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExceptionType c : ExceptionType.values())
        System.out.println(c);

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

valueOf

public static ExceptionType 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