com.ibm.db
Class Utilities
java.lang.Object
|
+--com.ibm.db.Utilities
- class Utilities
- extends java.lang.Object
A set of utility methods used by classes in com.ibm.db package.
Field Summary |
private static java.lang.String |
copyright
|
Constructor Summary |
(package private) |
Utilities()
|
Method Summary |
protected static java.lang.String |
getMessage(java.lang.String aKey)
This method was created by a SmartGuide. |
protected static java.lang.String |
getMessage(java.lang.String aKey,
java.lang.Object[] msgArgs)
This method returns the parameterized message with the specified key from the resource bundle. |
protected static java.lang.String |
logBaseException(DataException ex)
Logs the message associated with the base exception. |
protected static java.lang.String |
logBaseException(DataException ex,
boolean adjustRowsAndColumns)
Logs the message associated with the base exception. |
protected static java.lang.String |
logBaseException(java.lang.Exception ex)
Logs the message associated with the base exception. |
protected static java.lang.String |
logMessage(java.lang.String msgKey)
This method was created by a SmartGuide. |
protected static java.lang.String |
logMessage(java.lang.String msgKey,
java.lang.Object[] args)
This method was created by a SmartGuide. |
protected static java.lang.String |
logSQLException(java.sql.SQLException ex)
This method was created by a SmartGuide. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
copyright
private static final java.lang.String copyright
Utilities
Utilities()
getMessage
protected static java.lang.String getMessage(java.lang.String aKey)
- This method was created by a SmartGuide.
- Parameters:
aKey
- java.lang.String- Returns:
- java.lang.String
getMessage
protected static java.lang.String getMessage(java.lang.String aKey,
java.lang.Object[] msgArgs)
- This method returns the parameterized message with the specified key from the resource bundle.
- Parameters:
aKey
- java.lang.String- Returns:
- java.lang.String
logBaseException
protected static java.lang.String logBaseException(DataException ex)
- Logs the message associated with the base exception.
- Parameters:
com.ibm.db.base.DataException
- the base exception
logBaseException
protected static java.lang.String logBaseException(DataException ex,
boolean adjustRowsAndColumns)
- Logs the message associated with the base exception.
- Parameters:
com.ibm.db.base.DataException
- the base exceptionboolean
- if true, adjust row and column indices for VA for Java Select bean
logBaseException
protected static java.lang.String logBaseException(java.lang.Exception ex)
- Logs the message associated with the base exception.
- Parameters:
com.ibm.db.base.DataException
- the base exception
logMessage
protected static java.lang.String logMessage(java.lang.String msgKey)
- This method was created by a SmartGuide.
- Parameters:
message
- java.lang.String- Returns:
- java.lang.String
logMessage
protected static java.lang.String logMessage(java.lang.String msgKey,
java.lang.Object[] args)
- This method was created by a SmartGuide.
- Parameters:
message
- java.lang.String- Returns:
- java.lang.String
logSQLException
protected static java.lang.String logSQLException(java.sql.SQLException ex)
- This method was created by a SmartGuide.
- Throws:
- DataException - The exception description.