jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class PGErrors

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.postgresql.PGErrors

class PGErrors
extends Object

PGErrors is used to map database error strings to error ids of the driver. TODO: Better structure, add SQLState support, write i18n-ed error descriptions

Version:
$Revision: 1.7 $
Author:
Keve Müller

Field Summary
(package private) static Map msgErrors
           
(package private) static Map strErrors
           
 
Constructor Summary
(package private) PGErrors()
           
 
Method Summary
(package private) static void throwError(String msg)
           
(package private) static void throwError(String msg, String detail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msgErrors

static final Map msgErrors

strErrors

static final Map strErrors
Constructor Detail

PGErrors

PGErrors()
Method Detail

throwError

static void throwError(String msg)
                throws SQLException
SQLException

throwError

static void throwError(String msg,
                       String detail)
                throws SQLException
SQLException

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.