artefaktur
software engineer &        architecture

 
 
 
 

class SQLWarning

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::SQLWarning Class Reference

#include <SQLWarning.h>

Inheritance diagram for acdk::sql::SQLWarning:

acdk::sql::SQLException acdk::io::Serializable acdk::lang::Exception acdk::io::Serializable acdk::lang::Throwable acdk::lang::Object acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: JDBC 2.0.

Author:
Roger Rene Kommer
Version:
Revision
1.9
Date:
Date
2005/04/08 10:53:21


Public Member Functions

 SQLWarning ()
 This method initializes a new instance of SQLWarning that does not have a descriptive messages and SQL state, and which has a vendor error code of 0.

 SQLWarning (INP(RString) message)
 This method initializes a new instance of SQLWarning with the specified descriptive error message.

 SQLWarning (INP(RString) message, INP(RString) sqlState)
 This method initializes a new instance of SQLWarning with the specified descriptive error message and SQL state string.

 SQLWarning (INP(RString) message, INP(RString) sqlState, int vendorCode)
 This method initializes a nwe instance of SQLWarning with the specified descriptive error message, SQL state string, and vendor code.

RSQLWarning getNextWarning ()
 This method returns the exception that is chained to this object.

void setNextWarning (INP(RSQLWarning) e)
 This method adds a new exception to the end of the chain of exceptions that are chained to this object.


Constructor & Destructor Documentation

acdk::sql::SQLWarning::SQLWarning  )  [inline]
 

This method initializes a new instance of SQLWarning that does not have a descriptive messages and SQL state, and which has a vendor error code of 0.

acdk::sql::SQLWarning::SQLWarning INP(RString message  )  [inline]
 

This method initializes a new instance of SQLWarning with the specified descriptive error message.

The SQL state of this instance will be null and the vendor error code will be 0.

Parameters:
message A string describing the nature of the error.

acdk::sql::SQLWarning::SQLWarning INP(RString message,
INP(RString sqlState
[inline]
 

This method initializes a new instance of SQLWarning with the specified descriptive error message and SQL state string.

The vendor error code of this instance will be 0.

Parameters:
message A string describing the nature of the error.
SQLState A string containing the SQL state of the error.

acdk::sql::SQLWarning::SQLWarning INP(RString message,
INP(RString sqlState,
int  vendorCode
[inline]
 

This method initializes a nwe instance of SQLWarning with the specified descriptive error message, SQL state string, and vendor code.

Parameters:
message A string describing the nature of the error.
SQLState A string containing the SQL state of the error.
vendorCode The vendor error code associated with this error.

Member Function Documentation

RSQLWarning acdk::sql::SQLWarning::getNextWarning  )  [inline]
 

This method returns the exception that is chained to this object.

Returns:
The exception chained to this object, which may be null.

void acdk::sql::SQLWarning::setNextWarning INP(RSQLWarning e  )  [inline]
 

This method adds a new exception to the end of the chain of exceptions that are chained to this object.

Parameters:
e The exception to add to the end of the chain.
 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer