NBDatabaseException MembersIBM Integration Bus

The NBDatabaseException type exposes the following members.
Constructors

  NameDescription
Public methodNBDatabaseException 
Constructs a new exception object with the defaulted message number 7499.
Public methodNBDatabaseException(String)
Constructs a new exception object with the given message and the defaulted message number 7499.
Protected methodNBDatabaseException(SerializationInfo, StreamingContext)
Initializes a new instance of the NBDatabaseException class
Public methodNBDatabaseException(String, Exception)
Constructs a new exception object with the given message and inner exception and the defaulted message number 7499.
Public methodNBDatabaseException(String, Int64)
Constructs a new exception object with the given message and exception number.
Public methodNBDatabaseException(String,  Object )
Constructs a new exception object with the given message and inserts and the defaulted message number 7498.
Public methodNBDatabaseException(String, Exception,  Object )
Constructs a new exception object with the given message, inner exception and inserts and the defaulted message number 7498.
Public methodNBDatabaseException(String, Int64, NBSeverity)
Constructs a new exception object with the given message, exception number and the severity.
Public methodNBDatabaseException(String, Int64, Exception)
Constructs a new exception object with the given message, exception number and the inner exception.
Public methodNBDatabaseException(String, Int64,  Object )
Constructs a new exception object with the given message, exception number and inserts.
Public methodNBDatabaseException(String, String, Int64)
Constructs a new exception object with the given message, the object's catalog and exception number.
Public methodNBDatabaseException(String, Int64, NBSeverity, Exception)
Constructs a new exception object with the given message, exception number, severity and the inner exception.
Public methodNBDatabaseException(String, Int64, NBSeverity,  Object )
Constructs a new exception object with the given message, exception number, severity and the object's inserts.
Public methodNBDatabaseException(String, Int64, Exception,  Object )
Constructs a new exception object with the given message, exception number, the inner exception and inserts.
Public methodNBDatabaseException(String, String, Int64,  Object )
Constructs a new exception object with the given message, the object's catalog, exception number and inserts.
Public methodNBDatabaseException(String, Int64, NBSeverity, Exception,  Object )
Constructs a new exception object with the given message, exception number, severity, the inner exception and the object's inserts.
Public methodNBDatabaseException(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.
Public methodNBDatabaseException(String, String, Int64, Exception,  Object )
Constructs a new exception object with the given message, the object's catalog, exception number, inner exception and inserts.
Public methodNBDatabaseException(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.
Back to Top
Methods

  NameDescription
Public methodAddEsqlHandlerInserts
AddEsqlHandlerInserts add an SQL code that allows an ESQL HANDLER that catches this exception to query the SQL code.
Public methodAddEsqlHandlerInsertsInner
AddEsqlHandlerInserts adds information to the exception that allows an ESQL HANDLER to catch this exception by the specified SQLCode. Constructs ESQL Handler Inserts with the SQL state, native Error and Error text.
Public methodAddNestedException
Adds a nested exception to the current exception.
(Inherited from NBException.)
Public methodDispose  (Inherited from NBException.)
Protected methodDispose(Boolean) (Inherited from NBException.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodFinalize (Inherited from NBException.)
Public methodFormattedMessage
Formats the exception as a string using the catalog provided in the exception itself.
(Inherited from NBException.)
Public methodOnlineGetBaseException
When overridden in a derived class, returns the OnlineException that is the root cause of one or more subsequent exceptions.
(Inherited from OnlineException.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetNestedExceptions
Gets all the nested exceptions that belong to the current exception.
(Inherited from NBException.)
Public methodGetObjectData
Initializes a new instance of the Exception class with serialized data.
(Inherited from NBException.)
Public methodOnlineGetType
Gets the runtime type of the current instance.
(Inherited from OnlineException.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodThrowThis
Instructs this object to throw itself.
(Overrides NBRecoverableException ThrowThis .)
Public methodOnlineToString
Creates and returns a string representation of the current exception.
(Inherited from OnlineException.)
Back to Top
Properties

  NameDescription
Public propertyCatalog
Gets or sets The catalog that contains the exception message number.
(Inherited from NBException.)
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from NBException.)
Public propertyFile
Gets or sets the file that generated the exception.
(Inherited from NBException.)
Public propertyOnlineHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from OnlineException.)
Public propertyOnlineHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from OnlineException.)
Public propertyOnlineInnerException
Gets the OnlineException instance that caused the current exception.
(Inherited from OnlineException.)
Public propertyLabel
Gets or sets the label of the component or class that originated the exception.
(Inherited from NBException.)
Public propertyLine
Gets or sets the line in the file where the exception was generated.
(Inherited from NBException.)
Public propertyOnlineMessage
Gets a message that describes the current exception.
(Inherited from OnlineException.)
Public propertyMessageAsFirstInsert
Gets or sets a flag to request that the exception, when logged, contains the Message as the first insert.
(Inherited from NBException.)
Public propertyMethod
Gets or sets the name of the method which throws the exception.
(Inherited from NBException.)
Public propertyName
Gets or sets the name of the component or class that originated the exception.
(Inherited from NBException.)
Public propertyNumber
Gets or sets the Error number.
(Inherited from NBException.)
Public propertySeverity
Gets or sets the severity of the exception.
(Inherited from NBException.)
Public propertySource
Gets or sets the message source of the message in the exception.
(Inherited from NBException.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from NBException.)
Public propertyStackTraceAsLastInsert
Gets or sets a flag to request that the exception, when logged, contains the StackTrace as its last insert.
(Inherited from NBException.)
Public propertyOnlineTargetSite
Gets the method that throws the current exception.
(Inherited from OnlineException.)
Back to Top
Events

  NameDescription
Protected eventOnlineSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from OnlineException.)
Back to Top
See Also