Modifier and Type | Method and Description |
---|---|
static ConnectorReturnCode |
ConnectorReturnCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorReturnCode[] |
ConnectorReturnCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportConnector.setError(ConnectorReturnCode code,
java.lang.String msg)
Registers an error code and its associated message and passes it
along to the logger if one is defined by the connectivity framework.
|
void |
ImportConnector.throwError(ConnectorReturnCode code,
java.lang.String msg)
Logs an error with the connectivity framework and throws it as an exception.
|
void |
ImportConnector.throwError(ConnectorReturnCode code,
java.lang.String msg,
java.lang.Throwable cause)
Logs an error with the connectivity framework and throws it as an exception.
|
Constructor and Description |
---|
ConnectorException(ConnectorReturnCode rc)
Constructor for a new ConnectorException
|
ConnectorException(ConnectorReturnCode rc,
java.lang.String message)
Constructor for a new ConnectorException
|
ConnectorException(ConnectorReturnCode rc,
java.lang.String message,
java.lang.Throwable cause)
Constructor for a new ConnectorException
|
ConnectorException(ConnectorReturnCode rc,
java.lang.Throwable cause)
Constructor for a new ConnectorException
|