public enum CSVFileConnectorErrorCode extends Enum<CSVFileConnectorErrorCode> implements ExceptionMessageSet
| Enum Constant and Description |
|---|
DIRECTORY_SPECIFIED |
FILE_NOT_FOUND |
FILE_NOT_READABLE |
FILE_NOT_SPECIFIED |
FILE_TOO_SHORT |
UNEXPECTED_IO_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an exception.
|
static CSVFileConnectorErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSVFileConnectorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSVFileConnectorErrorCode FILE_NOT_SPECIFIED
public static final CSVFileConnectorErrorCode DIRECTORY_SPECIFIED
public static final CSVFileConnectorErrorCode FILE_NOT_READABLE
public static final CSVFileConnectorErrorCode FILE_TOO_SHORT
public static final CSVFileConnectorErrorCode FILE_NOT_FOUND
public static final CSVFileConnectorErrorCode UNEXPECTED_IO_EXCEPTION
public static CSVFileConnectorErrorCode[] values()
for (CSVFileConnectorErrorCode c : CSVFileConnectorErrorCode.values()) System.out.println(c);
public static CSVFileConnectorErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface ExceptionMessageSetpublic ExceptionMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.Copyright © 2018–2020 ODPi. All rights reserved.