The NBCastException type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | NBCastException |
Constructs a new exception object with the defaulted message number 7499.
|
![]() | NBCastException(String) |
Constructs a new exception object with the given message and the defaulted message number 7499.
|
![]() | NBCastException(SerializationInfo, StreamingContext) | Initializes a new instance of the NBCastException class |
![]() | NBCastException(String, Exception) |
Constructs a new exception object with the given message and inner exception and the defaulted message number 7499.
|
![]() | NBCastException(String, Int64) |
Constructs a new exception object with the given message and exception number.
|
![]() | NBCastException(String, Object ) |
Constructs a new exception object with the given message and inserts and the defaulted message number 7498.
|
![]() | NBCastException(String, Exception, Object ) |
Constructs a new exception object with the given message, inner exception and inserts and the defaulted message number 7498.
|
![]() | NBCastException(String, Int64, NBSeverity) |
Constructs a new exception object with the given message, exception number and the severity.
|
![]() | NBCastException(String, Int64, Exception) |
Constructs a new exception object with the given message, exception number and the inner exception.
|
![]() | NBCastException(String, Int64, Object ) |
Constructs a new exception object with the given message, exception number and inserts.
|
![]() | NBCastException(String, String, Int64) |
Constructs a new exception object with the given message, the object's catalog and exception number.
|
![]() | NBCastException(String, Int64, NBSeverity, Exception) |
Constructs a new exception object with the given message, exception number, severity and the inner exception.
|
![]() | NBCastException(String, Int64, NBSeverity, Object ) |
Constructs a new exception object with the given message, exception number, severity and the object's inserts.
|
![]() | NBCastException(String, Int64, Exception, Object ) |
Constructs a new exception object with the given message, exception number, the inner exception and inserts.
|
![]() | NBCastException(String, String, Int64, Object ) |
Constructs a new exception object with the given message, the object's catalog, exception number and inserts.
|
![]() | NBCastException(String, Int64, NBSeverity, Exception, Object ) |
Constructs a new exception object with the given message, exception number, the severity, the inner exception and the object's inserts.
|
![]() | NBCastException(String, String, Int64, NBSeverity, Object ) |
Constructs a new exception object with the given message, the object's catalog, exception number, severity and the object's inserts.
|
![]() | NBCastException(String, String, Int64, Exception, Object ) |
Constructs a new exception object with the given message, the object's catalog, exception number, inner exception and inserts.
|
![]() | NBCastException(String, String, Int64, NBSeverity, Exception, Object ) |
Constructs a new exception object with the given message, the object's catalog, exception number, severity, the inner exception and the object's inserts.
|
Methods
Name | Description | |
---|---|---|
![]() | AddEsqlHandlerInserts |
AddEsqlHandlerInserts adds information to the exception that allows an ESQL HANDLER to easily handle this exception by the specified sql code.
This method constructs ESQL Handler ready inserts with the SQL code, state, native error and error text.
|
![]() | AddNestedException |
Adds a nested exception to the current exception.
(Inherited from NBException.) |
![]() | Dispose | (Inherited from NBException.) |
![]() | Dispose(Boolean) | (Inherited from NBException.) |
![]() | ![]() | (Inherited from ![]() |
![]() | Finalize | (Inherited from NBException.) |
![]() | FormattedMessage |
Formats the exception as a string using the catalog provided in the exception itself.
(Inherited from NBException.) |
![]() | ![]() | When overridden in a derived class, returns the (Inherited from ![]() ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetNestedExceptions |
Gets all the nested exceptions that belong to the current exception.
(Inherited from NBException.) |
![]() | GetObjectData |
Initializes a new instance of the Exception class with serialized data.
(Inherited from NBException.) |
![]() | ![]() | Gets the runtime type of the current instance. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ThrowThis |
Instructs this object to throw itself.
(Overrides NBRecoverableException ThrowThis .) |
![]() | ![]() | Creates and returns a string representation of the current exception. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | Catalog |
Gets or sets The catalog that contains the exception message number.
(Inherited from NBException.) |
![]() | Data |
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from NBException.) |
![]() | File |
Gets or sets the file that generated the exception.
(Inherited from NBException.) |
![]() | ![]() | Gets or sets a link to the help file associated with this exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | Label |
Gets or sets the label of the component or class that originated the exception.
(Inherited from NBException.) |
![]() | Line |
Gets or sets the line in the file where the exception was generated.
(Inherited from NBException.) |
![]() | ![]() | Gets a message that describes the current exception. (Inherited from ![]() |
![]() | MessageAsFirstInsert |
Gets or sets a flag to request that the exception, when logged, contains the Message as the first insert.
(Inherited from NBException.) |
![]() | Method |
Gets or sets the name of the method which throws the exception.
(Inherited from NBException.) |
![]() | Name |
Gets or sets the name of the component or class that originated the exception.
(Inherited from NBException.) |
![]() | Number |
Gets or sets the Error number.
(Inherited from NBException.) |
![]() | Severity |
Gets or sets the severity of the exception.
(Inherited from NBException.) |
![]() | Source |
Gets or sets the message source of the message in the exception.
(Inherited from NBException.) |
![]() | StackTrace |
Gets a string representation of the immediate frames on the call stack.
(Inherited from NBException.) |
![]() | StackTraceAsLastInsert |
Gets or sets a flag to request that the exception, when logged, contains the StackTrace as its last insert.
(Inherited from NBException.) |
![]() | ![]() | Gets the method that throws the current exception. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ![]() |
See Also