DB2®FormatException Members
The exception that is generated when the Parse method for the applicable IBM.Data.DB2Types structure or class includes a string with non-numeric values. The following tables list the members exposed by the DB2FormatException class.
Public Properties
| Property | Description |
|---|---|
HelpLink (inherited from Exception) |
Gets or sets a link to the help file associated with this exception. |
InnerException (inherited
from Exception) |
Gets the Exception instance that caused the current exception. |
Message (inherited from Exception |
Gets the text describing the error. |
Source (inherited from Exception |
Gets the name of the application or the object that generated the error. |
StackTrace (inherited from Exception) |
Gets a string representation of the frames on the call stack at the time the current exception was thrown. |
TargetSite (inherited from Exception) |
Gets the method that throws the current exception. |
Public Methods
| Method | Description |
|---|---|
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetBaseException (inherited
from Exception) |
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObjectData (inherited from Object) |
Overridden. See Exception.GetObjectData. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
ToString (inherited from Exception) |
Overridden. Creates and returns a string representation of the current exception. |
Protected Properties
| Property | Description |
|---|---|
HResult (inherited from Exception) |
Gets or sets HRESULT, a coded numeric value that is assigned to a specific exception. |
Protected Methods
| Method | Description |
|---|---|
Finalize (inherited from Object) |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations
before the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited
from Object) |
Creates a shallow copy of the current Object. |