Class FlatFileCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.ajevans.dbcode.data.io.DataException
io.github.ajevans.dbcode.dbconsumers.FlatFileCreationException
- All Implemented Interfaces:
Serializable
public class FlatFileCreationException extends DataException
Generic exception for the flat file connectors in this package.
- Author:
- Andy Evans
- See Also:
- Serialized Form
- Version: 1.0 01 Mar 2021
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FlatFileCreationException()Generic constructor.FlatFileCreationException(String message)Constructor for setting message. -
Method Summary
Modifier and Type Method Description StringgetMessage()Accessor for message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
message
Message explaining issue.
-
-
Constructor Details
-
FlatFileCreationException
public FlatFileCreationException()Generic constructor.Includes generic message "Issue with database."
-
FlatFileCreationException
Constructor for setting message.- Parameters:
message- Message associated with issue.
-
-
Method Details
-
getMessage
Accessor for message.- Overrides:
getMessagein classDataException- Returns:
- Message associated with issue.
-