Class DataConnectionException

All Implemented Interfaces:
Serializable

public class DataConnectionException extends DataException
Indicates a connection-related failure that might be intermittent in nature. The operation might succeed if reattempted by the application. If the data access resource is enlisted in a transaction, the application must ensure that the transaction is rolled back before retrying the operation under a new transaction.
See Also:
  • Constructor Details

    • DataConnectionException

      public DataConnectionException(String message)
      Constructs a new DataConnectionException exception with the specified detail message.
      Parameters:
      message - the detail message.
    • DataConnectionException

      public DataConnectionException(String message, Throwable cause)
      Constructs a new DataConnectionException exception with the specified detail message.
      Parameters:
      message - the detail message.
      cause - another exception or error that caused this exception. Null indicates that no other cause is specified.
    • DataConnectionException

      public DataConnectionException(Throwable cause)
      Constructs a new DataConnectionException exception with the specified cause.
      Parameters:
      cause - the cause.