java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jtrim2.concurrent.query.DataTransferException
- All Implemented Interfaces:
Serializable
An exception defining a general failure of transferring a data
asynchronously.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the exception withnullas itsdetail message.DataTransferException(String message) Creates the exception with a specificdetail message.DataTransferException(String message, Throwable cause) Creates the exception with a specificdetail messageandcause.DataTransferException(Throwable cause) Creates the exception with a specificcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataTransferException
Creates the exception with a specificcause. Thedetail messagewill be the string returned by thecause.toString()call.- Parameters:
cause- the cause of the failure of the data transfer. This argument can benullif there is no cause but this exception describes the failure.
-
DataTransferException
Creates the exception with a specificdetail messageandcause.- Parameters:
message- the message to be returned bygetMessage(). This argument can benull.cause- the cause of the failure of the data transfer. This argument can benullif there is no cause but this exception describes the failure.
-
DataTransferException
Creates the exception with a specificdetail message.- Parameters:
message- the message to be returned bygetMessage(). This argument can benull.
-
DataTransferException
public DataTransferException()Creates the exception withnullas itsdetail message.
-