| java.lang.Object org.apache.derby.impl.load.LoadError
LoadError | class LoadError (Code) | | These exceptions are thrown by the import and export modules.
author: Mamta Satoor See Also: SQLException |
Method Summary | |
static SQLException | connectionNull() Raised if, the Cloudscape database connection is null. | static SQLException | dataAfterStopDelimiter(int lineNumber, int columnNumber) Raised if, there is data found between the stop delimiter and field/record spearator. | static SQLException | dataFileNotFound(String fileName) Raised if, the passed data file can't be found. | static SQLException | dataFileNull() Raised if, null is passed for data file url. | static SQLException | delimitersAreNotMutuallyExclusive() | static SQLException | entityNameMissing() Raised if, the entity (ie table/view) for import/export is missing in the database. | static SQLException | errorWritingData() Raised if, got IOException while writing data to the file. | static SQLException | fieldAndRecordSeparatorsSubset() Raised if, field & record separators are substring of each other. | static SQLException | invalidColumnName(String columnName) Raised if, no column by given name is found in the resultset while importing. | static SQLException | invalidColumnNumber(int numberOfColumns) Raised if, no column by given number is found in the resultset while importing. | static SQLException | nonSupportedTypeColumn(String columnName, String typeName) Raised if, trying to export/import from an entity which has non supported
type columns in it. | static SQLException | periodAsCharDelimiterNotAllowed() | static SQLException | recordSeparatorMissing(int lineNumber) Raised if, in case of fixed format, don't find the record separator for a row in the data file. | static SQLException | tableNotFound(String tableName) | static SQLException | unexpectedEndOfFile(int lineNumber) Raised if, in case of fixed format, reach end of file before reading data for all the columns. | static SQLException | unexpectedError(Throwable t) |
connectionNull | static SQLException connectionNull()(Code) | | Raised if, the Cloudscape database connection is null.
|
dataAfterStopDelimiter | static SQLException dataAfterStopDelimiter(int lineNumber, int columnNumber)(Code) | | Raised if, there is data found between the stop delimiter and field/record spearator.
Parameters: lineNumber - Found invalid data on this line number in the data file Parameters: columnNumber - Found invalid data for this column number in the data file |
dataFileNotFound | static SQLException dataFileNotFound(String fileName)(Code) | | Raised if, the passed data file can't be found.
Parameters: fileName - the data file name |
dataFileNull | static SQLException dataFileNull()(Code) | | Raised if, null is passed for data file url.
|
delimitersAreNotMutuallyExclusive | static SQLException delimitersAreNotMutuallyExclusive()(Code) | | |
entityNameMissing | static SQLException entityNameMissing()(Code) | | Raised if, the entity (ie table/view) for import/export is missing in the database.
|
errorWritingData | static SQLException errorWritingData()(Code) | | Raised if, got IOException while writing data to the file.
|
fieldAndRecordSeparatorsSubset | static SQLException fieldAndRecordSeparatorsSubset()(Code) | | Raised if, field & record separators are substring of each other.
|
invalidColumnName | static SQLException invalidColumnName(String columnName)(Code) | | Raised if, no column by given name is found in the resultset while importing.
Parameters: columnName - the resultset doesn't have this column name |
invalidColumnNumber | static SQLException invalidColumnNumber(int numberOfColumns)(Code) | | Raised if, no column by given number is found in the resultset while importing.
Parameters: numberOfColumns - the resultset doesn't have this column number |
nonSupportedTypeColumn | static SQLException nonSupportedTypeColumn(String columnName, String typeName)(Code) | | Raised if, trying to export/import from an entity which has non supported
type columns in it.
|
periodAsCharDelimiterNotAllowed | static SQLException periodAsCharDelimiterNotAllowed()(Code) | | |
recordSeparatorMissing | static SQLException recordSeparatorMissing(int lineNumber)(Code) | | Raised if, in case of fixed format, don't find the record separator for a row in the data file.
Parameters: lineNumber - the line number with the missing record separator in the data file |
unexpectedEndOfFile | static SQLException unexpectedEndOfFile(int lineNumber)(Code) | | Raised if, in case of fixed format, reach end of file before reading data for all the columns.
|
|
|