com.ibm.db.base
Class DataException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.db.base.DataException
- public class DataException
- extends java.lang.Exception
Thown when an error is encountered.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
backtrace,
detailMessage,
serialVersionUID |
Constructor Summary |
DataException(java.lang.String s,
int errorCode)
DataException constructor comment. |
DataException(java.lang.String s,
java.sql.SQLException e)
This method was created by a SmartGuide. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
printStackTrace0,
toString |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
fieldSqlException
protected java.sql.SQLException fieldSqlException
errCode
protected int errCode
msgArgs
protected java.lang.Object[] msgArgs
sqlException
public static final int sqlException
inconsistentColumnCount
public static final int inconsistentColumnCount
inconsistentColumnType
public static final int inconsistentColumnType
wrongObjectType
public static final int wrongObjectType
noSQL
public static final int noSQL
badSQLType
public static final int badSQLType
notRegistered
public static final int notRegistered
zipError
public static final int zipError
unzipError
public static final int unzipError
decodeError
public static final int decodeError
websphereConnectionError
public static final int websphereConnectionError
invalidConnPoolType
public static final int invalidConnPoolType
unexpectedError
public static final int unexpectedError
noInitialContext
public static final int noInitialContext
jdbc1
public static final int jdbc1
copyright
private static final java.lang.String copyright
DataException
public DataException(java.lang.String s,
int errorCode)
- DataException constructor comment.
- Parameters:
s
- java.lang.String
DataException
public DataException(java.lang.String s,
java.sql.SQLException e)
- This method was created by a SmartGuide.
- Parameters:
message
- java.lang.StringjdbcMessage
- java.lang.String
getErrorCode
public int getErrorCode()
getMessageArgs
public java.lang.Object[] getMessageArgs()
getSqlException
public java.sql.SQLException getSqlException()
- This method was created by a SmartGuide.
- Returns:
- java.sql.SQLException
setMessageArgs
public void setMessageArgs(java.lang.Object[] argValues)