org.firebirdsql.jdbc

Class FBSQLWarning


public class FBSQLWarning
extends SQLWarning

This class is a wrapper for GDSException instance that is warning.
Author:
Roman Rokytskyy

Field Summary

static String
SQL_STATE_WARNING

Constructor Summary

FBSQLWarning(String message)
Create instance of this class for the specified message.
FBSQLWarning(GDSException original)
Create instance of this class.

Method Summary

int
getErrorCode()
Get error code for this warning.
Exception
getInternalException()
String
getMessage()
void
printStackTrace()
void
printStackTrace(PrintStream s)
void
printStackTrace(PrintWriter s)

Field Details

SQL_STATE_WARNING

public static final String SQL_STATE_WARNING

Constructor Details

FBSQLWarning

public FBSQLWarning(String message)
Create instance of this class for the specified message.
Parameters:
message - message for this warning.

FBSQLWarning

public FBSQLWarning(GDSException original)
Create instance of this class.
Parameters:
original - instance of GDSException that is warning

Method Details

getErrorCode

public int getErrorCode()
Get error code for this warning.
Returns:
error code for this warning.

getInternalException

public Exception getInternalException()

getMessage

public String getMessage()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

Copyright B) 2001 David Jencks and other authors. All rights reserved.