com.sap.conn.jco.ext
Enum DataProviderException.Reason

java.lang.Object
  extended by java.lang.Enum<DataProviderException.Reason>
      extended by com.sap.conn.jco.ext.DataProviderException.Reason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataProviderException.Reason>
Enclosing class:
DataProviderException

public static enum DataProviderException.Reason
extends java.lang.Enum<DataProviderException.Reason>

An enumeration for describing the reason of a DataProviderException.


Enum Constant Summary
INTERNAL_ERROR
          There is an internal error in the DataProvider
INVALID_CONFIGURATION
          The requested configuration is set up in a way so that already the DataProvider considers it being invalid
 
Method Summary
static DataProviderException.Reason valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataProviderException.Reason[] 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

INVALID_CONFIGURATION

public static final DataProviderException.Reason INVALID_CONFIGURATION
The requested configuration is set up in a way so that already the DataProvider considers it being invalid


INTERNAL_ERROR

public static final DataProviderException.Reason INTERNAL_ERROR
There is an internal error in the DataProvider

Method Detail

values

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

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

valueOf

public static DataProviderException.Reason 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


Copyright © 2008-2014 SAP AG. All Rights Reserved.