|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ load overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.load
Class LoadError

java.lang.Objectorg.apache.derby.impl.load.LoadError
- class LoadError
- extends java.lang.Object
These exceptions are thrown by the import and export modules.
| Constructor Summary | |
(package private) |
LoadError()
|
| Method Summary | |
(package private) static java.sql.SQLException |
connectionNull()
Raised if, the Cloudscape database connection is null. |
(package private) static java.sql.SQLException |
dataAfterStopDelimiter(int lineNumber,
int columnNumber)
Raised if, there is data found between the stop delimiter and field/record spearator. |
(package private) static java.sql.SQLException |
dataFileNotFound(java.lang.String fileName)
Raised if, the passed data file can't be found. |
(package private) static java.sql.SQLException |
dataFileNull()
Raised if, null is passed for data file url. |
(package private) static java.sql.SQLException |
delimitersAreNotMutuallyExclusive()
|
(package private) static java.sql.SQLException |
entityNameMissing()
Raised if, the entity (ie table/view) for import/export is missing in the database. |
(package private) static java.sql.SQLException |
errorWritingData()
Raised if, got IOException while writing data to the file. |
(package private) static java.sql.SQLException |
fieldAndRecordSeparatorsSubset()
Raised if, field & record separators are substring of each other. |
(package private) static java.sql.SQLException |
invalidColumnName(java.lang.String columnName)
Raised if, no column by given name is found in the resultset while importing. |
(package private) static java.sql.SQLException |
invalidColumnNumber(int numberOfColumns)
Raised if, no column by given number is found in the resultset while importing. |
(package private) static java.sql.SQLException |
nonSupportedTypeColumn(java.lang.String columnName,
java.lang.String typeName)
Raised if, trying to export/import from an entity which has non supported type columns in it. |
(package private) static java.sql.SQLException |
periodAsCharDelimiterNotAllowed()
|
(package private) static java.sql.SQLException |
recordSeparatorMissing(int lineNumber)
Raised if, in case of fixed format, don't find the record separator for a row in the data file. |
(package private) static java.sql.SQLException |
tableNotFound(java.lang.String tableName)
|
(package private) static java.sql.SQLException |
unexpectedEndOfFile(int lineNumber)
Raised if, in case of fixed format, reach end of file before reading data for all the columns. |
(package private) static java.sql.SQLException |
unexpectedError(java.lang.Throwable t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
LoadError
LoadError()
| Method Detail |
connectionNull
static java.sql.SQLException connectionNull()
- Raised if, the Cloudscape database connection is null.
dataAfterStopDelimiter
static java.sql.SQLException dataAfterStopDelimiter(int lineNumber, int columnNumber)
- Raised if, there is data found between the stop delimiter and field/record spearator.
dataFileNotFound
static java.sql.SQLException dataFileNotFound(java.lang.String fileName)
- Raised if, the passed data file can't be found.
dataFileNull
static java.sql.SQLException dataFileNull()
- Raised if, null is passed for data file url.
entityNameMissing
static java.sql.SQLException entityNameMissing()
- Raised if, the entity (ie table/view) for import/export is missing in the database.
fieldAndRecordSeparatorsSubset
static java.sql.SQLException fieldAndRecordSeparatorsSubset()
- Raised if, field & record separators are substring of each other.
invalidColumnName
static java.sql.SQLException invalidColumnName(java.lang.String columnName)
- Raised if, no column by given name is found in the resultset while importing.
invalidColumnNumber
static java.sql.SQLException invalidColumnNumber(int numberOfColumns)
- Raised if, no column by given number is found in the resultset while importing.
nonSupportedTypeColumn
static java.sql.SQLException nonSupportedTypeColumn(java.lang.String columnName, java.lang.String typeName)
- Raised if, trying to export/import from an entity which has non supported
type columns in it.
recordSeparatorMissing
static java.sql.SQLException recordSeparatorMissing(int lineNumber)
- Raised if, in case of fixed format, don't find the record separator for a row in the data file.
unexpectedEndOfFile
static java.sql.SQLException unexpectedEndOfFile(int lineNumber)
- Raised if, in case of fixed format, reach end of file before reading data for all the columns.
errorWritingData
static java.sql.SQLException errorWritingData()
- Raised if, got IOException while writing data to the file.
periodAsCharDelimiterNotAllowed
static java.sql.SQLException periodAsCharDelimiterNotAllowed()
delimitersAreNotMutuallyExclusive
static java.sql.SQLException delimitersAreNotMutuallyExclusive()
tableNotFound
static java.sql.SQLException tableNotFound(java.lang.String tableName)
unexpectedError
static java.sql.SQLException unexpectedError(java.lang.Throwable t)
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ load overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.impl.load.LoadError