DataException
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException
public final class DataException extends IllegalStateException
Represents the exception that is thrown when errors are generated using ADO.NET components.
Constructors
| Constructor | Description |
|---|---|
| DataException(String s) | Initializes a new instance of the DataException class with the specified string. |
| DataException(Exception ex) | Initializes a new instance of this class. |
DataException(String s)
public DataException(String s)
Initializes a new instance of the DataException class with the specified string.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| s | java.lang.String | The string to display when the exception is thrown. |
DataException(Exception ex)
public DataException(Exception ex)
Initializes a new instance of this class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ex | java.lang.Exception |