utils
Enum UPNPErrorsCode

java.lang.Object
  extended by java.lang.Enum<UPNPErrorsCode>
      extended by utils.UPNPErrorsCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UPNPErrorsCode>

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


Enum Constant Summary
UPNP_ACTION_FAILED
           
UPNP_ARGUMENT_VALUE_OUT_OF_RANGE
           
UPNP_HUMAN_INTERVENTION_REQUIRED
           
UPNP_INVALID_ACTION
           
UPNP_INVALID_ARGUMENTS
           
UPNP_INVALID_VALUE_ARGUMENT
           
UPNP_OPTIONAL_ACTION_NOT_IMPLEMENTED
           
UPNP_OUT_OF_MEMORY
           
UPNP_STRING_ARGUMENT_TOO_LONG
           
UPNP_SUCCESS
           
 
Method Summary
 java.lang.String getDescription()
          Retorna a descricao do erro UPnP
 double getValue()
          Retorna o codigo do erro UPnP
static UPNPErrorsCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UPNPErrorsCode[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

UPNP_SUCCESS

public static final UPNPErrorsCode UPNP_SUCCESS

UPNP_INVALID_ACTION

public static final UPNPErrorsCode UPNP_INVALID_ACTION

UPNP_INVALID_ARGUMENTS

public static final UPNPErrorsCode UPNP_INVALID_ARGUMENTS

UPNP_ACTION_FAILED

public static final UPNPErrorsCode UPNP_ACTION_FAILED

UPNP_INVALID_VALUE_ARGUMENT

public static final UPNPErrorsCode UPNP_INVALID_VALUE_ARGUMENT

UPNP_ARGUMENT_VALUE_OUT_OF_RANGE

public static final UPNPErrorsCode UPNP_ARGUMENT_VALUE_OUT_OF_RANGE

UPNP_OPTIONAL_ACTION_NOT_IMPLEMENTED

public static final UPNPErrorsCode UPNP_OPTIONAL_ACTION_NOT_IMPLEMENTED

UPNP_OUT_OF_MEMORY

public static final UPNPErrorsCode UPNP_OUT_OF_MEMORY

UPNP_HUMAN_INTERVENTION_REQUIRED

public static final UPNPErrorsCode UPNP_HUMAN_INTERVENTION_REQUIRED

UPNP_STRING_ARGUMENT_TOO_LONG

public static final UPNPErrorsCode UPNP_STRING_ARGUMENT_TOO_LONG
Method Detail

values

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

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

valueOf

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

getValue

public double getValue()
Retorna o codigo do erro UPnP

Returns:
Codigo do erro UPnP

getDescription

public java.lang.String getDescription()
Retorna a descricao do erro UPnP

Returns:
Descricao do erro UPnP