Class DataTransferException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jtrim2.concurrent.query.DataTransferException
All Implemented Interfaces:
Serializable

public class DataTransferException extends Exception
An exception defining a general failure of transferring a data asynchronously.
See Also:
  • Constructor Details

    • DataTransferException

      public DataTransferException(Throwable cause)
      Creates the exception with a specific cause. The detail message will be the string returned by the cause.toString() call.
      Parameters:
      cause - the cause of the failure of the data transfer. This argument can be null if there is no cause but this exception describes the failure.
    • DataTransferException

      public DataTransferException(String message, Throwable cause)
      Creates the exception with a specific detail message and cause.
      Parameters:
      message - the message to be returned by getMessage(). This argument can be null.
      cause - the cause of the failure of the data transfer. This argument can be null if there is no cause but this exception describes the failure.
    • DataTransferException

      public DataTransferException(String message)
      Creates the exception with a specific detail message.
      Parameters:
      message - the message to be returned by getMessage(). This argument can be null.
    • DataTransferException

      public DataTransferException()
      Creates the exception with null as its detail message.