jxUtil 0.6

org.sourceforge.jxutil.sql
Class I18nSQLException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.sql.SQLException
                    |
                    +--org.sourceforge.jxutil.sql.I18nSQLException
All Implemented Interfaces:
Serializable

public class I18nSQLException
extends SQLException

Internationalized version of SQLException.

See Also:
Serialized Form

Field Summary
private  String localizedMessage
           
(package private) static ArrayList resBundles
           
(package private) static ArrayList resLocBundles
           
 
Fields inherited from class java.sql.SQLException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
I18nSQLException(String id)
           
I18nSQLException(String id, Object[] args)
           
I18nSQLException(String id, String sqlstate)
           
I18nSQLException(String id, String sqlstate, Object[] args)
           
 
Method Summary
static void addBundle(ResourceBundle bundle)
           
static void addLocalizedBundle(ResourceBundle bundle)
           
 String getLocalizedMessage()
           
(package private) static String getMessage(ArrayList lst, String msg, Object[] args)
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

localizedMessage

private final String localizedMessage

resBundles

static final ArrayList resBundles

resLocBundles

static final ArrayList resLocBundles
Constructor Detail

I18nSQLException

public I18nSQLException(String id)

I18nSQLException

public I18nSQLException(String id,
                        Object[] args)

I18nSQLException

public I18nSQLException(String id,
                        String sqlstate)

I18nSQLException

public I18nSQLException(String id,
                        String sqlstate,
                        Object[] args)
Method Detail

addBundle

public static void addBundle(ResourceBundle bundle)

addLocalizedBundle

public static void addLocalizedBundle(ResourceBundle bundle)

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

getMessage

static String getMessage(ArrayList lst,
                         String msg,
                         Object[] args)

jxUtil 0.6

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