DataException
Leave feedback
On this page
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.
| 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. |
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. |
public DataException(Exception ex)
Initializes a new instance of this class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ex | java.lang.Exception |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.