| java.lang.Object java.lang.Throwable java.lang.Exception com.salmonllc.sql.DataStoreException
All known Subclasses: com.salmonllc.sql.IntegrityException,
DataStoreException | public class DataStoreException extends Exception (Code) | | This Exception is thrown by methods in the DataStore / DataStore Buffer class when an error occurs.
|
DataStoreException | public DataStoreException()(Code) | | Constructs an Exception with no specified detail message.
|
DataStoreException | public DataStoreException(String s)(Code) | | Constructs an Exception with the specified detail message.
Parameters: s - the detail message. |
DataStoreException | public DataStoreException(String s, Throwable root)(Code) | | Constructs an Exception with the specified detail message.
Parameters: s - the detail message. |
DataStoreException | public DataStoreException(String s, Throwable root, int dsNo)(Code) | | Constructs an Exception with the specified detail message.
Parameters: s - the detail message. |
DataStoreException | public DataStoreException(String s, String SQLStatement, int row, int buffer)(Code) | | Constructs an Exception with the specified detail message.
Parameters: s - the detail message. Parameters: SQLStatement - The SQL Statement that caused the error. Parameters: row - The dataStore row number that caused the error. Parameters: row - The dataStore buffer that caused the error. |
DataStoreException | public DataStoreException(String s, int row, String column)(Code) | | Constructs an Exception with the specified detail message.
Parameters: s - the detail message. Parameters: row - The dataStore row number that caused the error. Parameters: column - The column that caused the error. |
getBuffer | public int getBuffer()(Code) | | Returns the SQL Statement that caused the error.
int |
getColumn | public String getColumn()(Code) | | Returns the column that caused the error.
|
getDataStoreNo | public int getDataStoreNo()(Code) | | For a proxy datastore updating multiple datastores, the one that caused the error
|
getRootCause | public Throwable getRootCause()(Code) | | The root cause of the exception if there is one or null if not |
getRow | public int getRow()(Code) | | Returns the row number that caused the error.
|
getSqlStatement | public String getSqlStatement()(Code) | | Returns the SQLStatement that caused the error.
|
setColumn | public void setColumn(String column)(Code) | | Sets the column causing the error
|
setDataStoreNo | public void setDataStoreNo(int dsNo)(Code) | | Can be called by the code generating the exception to set the DataStore number that caused the error. For proxy datastores that do multiple updates
|
setRowNo | public void setRowNo(int rowNo)(Code) | | Sets the row number causing the error
|
|
|