Package org.apache.derby.impl.load
Class LoadError
java.lang.Object
org.apache.derby.impl.load.LoadError
These exceptions are thrown by the import and export modules.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static SQLException
Raised if, the Derby database connection is null.(package private) static SQLException
dataAfterStopDelimiter
(int lineNumber, int columnNumber) Raised if, there is data found between the stop delimiter and field/record spearator.(package private) static SQLException
dataFileExists
(String fileName) Raised if, data file exists.(package private) static SQLException
dataFileNotFound
(String fileName, Exception ex) Raised if, the passed data file can't be found.(package private) static SQLException
Raised if, null is passed for data file url.(package private) static SQLException
(package private) static SQLException
Raised if, the entity (ie table/view) for import/export is missing in the database.(package private) static SQLException
Raised if, got IOException while writing data to the file.(package private) static SQLException
Raised if, field and record separators are substring of each other.(package private) static SQLException
invalidColumnName
(String columnName) Raised if, no column by given name is found in the resultset while importing.(package private) static SQLException
invalidColumnNumber
(int numberOfColumns) Raised if, no column by given number is found in the resultset while importing.(package private) static SQLException
lobsFileExists
(String fileName) Raised if, lob file exists.(package private) static SQLException
nonSupportedTypeColumn
(String columnName, String typeName) Raised if, trying to export/import from an entity which has non supported type columns in it.(package private) static SQLException
(package private) 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.(package private) static SQLException
tableNotFound
(String tableName) (package private) static 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 SQLException
-
Constructor Details
-
LoadError
LoadError()
-
-
Method Details
-
connectionNull
Raised if, the Derby database connection is null. -
dataAfterStopDelimiter
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 filecolumnNumber
- Found invalid data for this column number in the data file
-
dataFileNotFound
Raised if, the passed data file can't be found.- Parameters:
fileName
- the data file nameex
- the exception that prevented us from opening the file
-
dataFileNull
Raised if, null is passed for data file url. -
dataFileExists
Raised if, data file exists. -
lobsFileExists
Raised if, lob file exists. -
entityNameMissing
Raised if, the entity (ie table/view) for import/export is missing in the database. -
fieldAndRecordSeparatorsSubset
Raised if, field and record separators are substring of each other. -
invalidColumnName
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
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
Raised if, trying to export/import from an entity which has non supported type columns in it. -
recordSeparatorMissing
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
Raised if, in case of fixed format, reach end of file before reading data for all the columns. -
errorWritingData
Raised if, got IOException while writing data to the file. -
periodAsCharDelimiterNotAllowed
-
delimitersAreNotMutuallyExclusive
-
tableNotFound
-
unexpectedError
-