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
          Some internal error occurred in the DataProvider.
INVALID_CONFIGURATION
          The requested configuration is set up in a way so that already the DataProvider considered it being invalid.
IO_ERROR
          Some sort of an I/O error has occurred in the DataProvider.
SECURITY_ERROR
          Some sort of a security error has occurred in the DataProvider.
 
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'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

INVALID_CONFIGURATION

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


INTERNAL_ERROR

public static final DataProviderException.Reason INTERNAL_ERROR
Some internal error occurred in the DataProvider.


IO_ERROR

public static final DataProviderException.Reason IO_ERROR
Some sort of an I/O error has occurred in the DataProvider.

Since:
JCo 3.0.15

SECURITY_ERROR

public static final DataProviderException.Reason SECURITY_ERROR
Some sort of a security error has occurred in the DataProvider.

Since:
JCo 3.0.15
Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they're 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


Copyright © 2008-2016 SAP SE. All Rights Reserved.