// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_sql_SQLException__
#define __java_sql_SQLException__

#pragma interface

#include <java/lang/Exception.h>

extern "Java"
{
  namespace java
  {
    namespace sql
    {
      class SQLException;
    }
  }
};

class ::java::sql::SQLException : public ::java::lang::Exception
{
public:
  SQLException ();
  SQLException (::java::lang::String *);
  SQLException (::java::lang::String *, ::java::lang::String *);
  SQLException (::java::lang::String *, ::java::lang::String *, jint);
  virtual ::java::lang::String *getSQLState () { return SQLState; }
  virtual jint getErrorCode () { return vendorCode; }
  virtual ::java::sql::SQLException *getNextException () { return next; }
  virtual void setNextException (::java::sql::SQLException *);
private:
  ::java::sql::SQLException *next;
  ::java::lang::String *SQLState;
  jint vendorCode;
  static const jlong serialVersionUID = 2135244094396331484LL;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_sql_SQLException__ */
